AS3 : Event Listener for Loaders
Man, the docs for AS3 in Flash CS3 suck.
Why can’t I get Loaders to throw a COMPLETE? Well, I can, but I just need to get the syntax right…
After troubleshooting for an hour, I find this post, which solves my problem immediately. Instead of:
myloader.addEventListener(Event.COMPLETE,onComplete);
I need:
myloader.contentLoaderInfo.addEventListener(Event.COMPLETE,onComplete);
Thanks, Luca (who doesn’t seem to be posting anymore…)!
