Jump to content
GreenSock

Search In
  • More options...
Find results that contain...
Find results in...
shibbydoo

check individual loader inside loadermax

Recommended Posts

Hi,

 

I know I can listen to see if the individual loader inside loadermax's complete or not, but I'm

wondering if there's a variable that I can use to see if the loader's complete? like loader.isComplete = true.

or I just have to set a variable myself. Thanks.

 

Cheers,

Link to comment
Share on other sites

Sure, every loader has a "status" property that you can check anytime like this:

 

if (myLoader.status == LoaderStatus.COMPLETED) {
   //do stuff...
} 

 

There are several LoaderStatus constants that you can find in the documentation.

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