Posted By

xida on 03/23/10


Tagged


Versions (?)

timer


 / Published in: ActionScript
 

  1. /* every 100 milliseconds (100), repeats forver (0) */
  2. public var tm:Timer = new Timer(100, 0);
  3. tm.start();
  4. tm.addEventListener(TimerEvent.TIMER,tmChange);
  5.  
  6. public function tmChange(tevt:TimerEvent):void {
  7. trace("change!");
  8. }

Report this snippet  

You need to login to post a comment.