Posted By

jrutter on 07/22/08


Tagged

actionscript timer 3 as3


Versions (?)

Who likes this?

6 people have marked this snippet as a favorite

abdsign
t3flexdev
THEPWN3R
joergp
papillion
MicronXD


ActionScript 3.0 Timer Event


 / Published in: ActionScript 3
 

  1. var timer:Timer = new Timer(5000);
  2. timer.addEventListener(TimerEvent.TIMER, onTimer);
  3. timer.start();
  4.  
  5. function onTimer(evt:TimerEvent):void {
  6. gotoAndPlay("next_frame");
  7. }

Report this snippet  

You need to login to post a comment.