Jump to content
GreenSock

Torben

onChildComplete

Recommended Posts

I don't understand why nothing gets traced in my onChildComplete function.

What am I doing wrong?

 

urls = ["http://www.server.com/1.jpg", "http://www.server.com/2.jpg"];
var queue:LoaderMax = LoaderMax.parse(urls, {name:"mainQueue", onChildComplete:completeHandler});
queue.load();


function completeHandler(e:LoaderEvent) : void {
var content:ContentDisplay = e.target.content;
trace(content);
}

Link to comment
Share on other sites

Could you post a sample FLA that demonstrates the issue? I don't see an obvious problem. Are you using the latest version of the classes?

Link to comment
Share on other sites

I honestly don't know why it didn't work but I somehow fixed it now - thanks anyway Jack ;)

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