Jump to content
Search Community

prevent more than one loading

vyger test
Moderator Tag

Recommended Posts

Hi, I use this code inside a method to load an image:

 

imageCounter++;
var obj = {name:"loader" + imageCounter,onComplete:completeHandler,onProgress:progressHandler};
var img = new ImageLoader(asset,obj);
img.load();

 

If one image is loading, is it possible to prevent the user from loading another image in the same container (aside from disabling the menu, that I just do)?

 

Thanks.

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