AS3: How do I get dynamic loader URL from LoaderInfo in Event Listener Function?
问题 I'm loading many pictures, and am using an array to do so. loader[i].load(new URLRequest(picture[i])); My Event Listener function is enabled like this: loader[i].contentLoaderInfo.addEventListener(Event.COMPLETE, onComplete); My onComplete event handler shows this: trace(e.target); //OUTPUT: [object LoaderInfo] I've looked for properties in LoaderInfo that might identify which loader initiated the listener (the value of "i") so that I can putz around with each one specifically, like this: