Answered
Get the object being loaded within Event.Complete function?
I am applying loader.contentLoaderInfo listeners to object in
a loop. Is there a way to get the object that has called the
Event.Complete and the associated function?
for example:
private function completeHandler(event:Event):void {
trace (the Loader object that called this function);
}
???
It seems like there would be something similar to 'event.target' but I understand that it is the contentLoader that has the eventListener applied to it. Thanks!
for example:
private function completeHandler(event:Event):void {
trace (the Loader object that called this function);
}
???
It seems like there would be something similar to 'event.target' but I understand that it is the contentLoader that has the eventListener applied to it. Thanks!