I'm executing the following code
var myXMLURL:URLRequest = new URLRequest("config.xml");
myLoader = new URLLoader(myXMLURL); // implicitly calls the load method here
myLoader.addEventListener(Event.COMPLETE, xmlLoaded);
myLoader.addEventListener(IOErrorEvent.IO_ERROR, errorHandler);
The URLloader executes as soon as you create it with a URLRequest.
My question is I'm adding an eventlistener after that statement, it currently catches the Event.Complete event, will this continue to work in the future? or should the eventListeners be added before the load is called?