With regard to the recommendations of registered listener flashplayer built-in class all the events are related to the event class constants to represent, it is recommended to use them to register the event listener and all of the built-in class event class (Event) all in flash.events package, such as the use of:
Code:
importflash.events.Event;
Code:
urlLoaderInstance.addEventListener (Event.COMPLETE, completeHandler);
Instead
urlLoaderInstance.addEventListener ( "complete", completeHandler);
Check and reply.
Bookmarks