Posted By

sherakama on 03/02/09


Tagged

textmate event load handlers as3


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tspitzr


as3 load event handlers


 / Published in: Other
 

  1. private function loop(e:ProgressEvent){
  2. var per = e.bytesLoaded / e.bytesTotal;
  3. var perInText:String = Math.ceil(per*100).toString();
  4. }
  5.  
  6. private function done(e:Event) {
  7. // its loaded
  8. }
  9.  
  10. // failed to load the url
  11. private function ioError(e:IOErrorEvent) {
  12. trace(e);
  13. }

Report this snippet  

You need to login to post a comment.