Posted By

arpit on 09/02/09


Tagged

core


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

sweetbabyyoung
TrentSkunk


Crate an anonymous event listener and remove immediately on first event


 / Published in: ActionScript 3
 

  1. this.addEventListener(Event.ENTER_FRAME, function(event:Event):void{
  2. removeEventListener(Event.ENTER_FRAME, arguments.callee);
  3. });

Report this snippet  

You need to login to post a comment.