Jump to content
Search Community

Extend ContentDisplay class?

midimid test
Moderator Tag

Recommended Posts

One thing I like about ContentDisplay is that its already a Sprite and I can use addChild with it and LoaerMax's organization capabilities are great. In the case of a slideshow app, I like being able to setup each of the ImageLoaders as "slides," add other elements to them, like text, borders, etc. Then when I'm animating, I don't have to separately animate all of the different elements - I only animate each of the ContentDisplay objects and call it a day.

 

But now I'd like to do some more custom functionality with the ContentDisplay class and I'd like to create a class that extends it.

 

How do I tell LoaderMax/ImageLoader to use my custom class?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...