Posted By

burakkirkil on 07/29/12


Tagged


Versions (?)

Loader Available Listeners


 / Published in: ActionScript 3
 

Loader Available Listeners

  1. //Loader
  2. var loader:Loader = new Loader();
  3.  
  4. //Add Listeners
  5. loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
  6. loader.contentLoaderInfo.addEventListener(HTTPStatusEvent.HTTP_STATUS, httpStatusHandler);
  7. loader.contentLoaderInfo.addEventListener(Event.INIT, initHandler);
  8. loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
  9. loader.contentLoaderInfo.addEventListener(Event.OPEN, openHandler);
  10. loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, progressHandler);
  11. loader.contentLoaderInfo.addEventListener(Event.UNLOAD, unLoadHandler);

Report this snippet  

You need to login to post a comment.