Pause frame using ActionScript 3


/ Published in: ActionScript 3
Save to your folder(s)

On a new actions layer, add the following script to frames requiring to be paused.
10000 represents the delay milliseconds (10 seconds).


Copy this code and paste it in your HTML
  1. stop();
  2.  
  3. var timer:Timer = new Timer(10000, 1);
  4. timer.addEventListener(
  5. TimerEvent.TIMER,
  6. function(evt:TimerEvent):void {
  7. play();
  8. }
  9. );
  10. timer.start();

Report this snippet


Comments


You need to login to view comments.