Jump to content
Search Community

Nested loaderMax instances?

Z0OTY test
Moderator Tag

Recommended Posts

Don't know if I worded that correctly. But here is what I am trying to do:

 

Create 3 loaderMax loaders consisting of imageLoaders from 3 different arrays( A, B, C);

 

Make another loaderMax loader (Main) and append A B and C to it.

 

Load.

 

Possible change priority of Main loader.

 

Is this possible?

Link to comment
Share on other sites

The answer is Yes!

RTFM

 

Nest LoaderMax instances inside other LoaderMax instances as deeply as you want. - This makes complex queues simple. Need to know when the first 3 loaders have finished loading inside a 10-loader queue? Just put those 3 into their own LoaderMax that has an onComplete and nest that LoaderMax inside your main LoaderMax queue.

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...