Return to Snippet

Revision: 15906
at July 21, 2009 02:54 by hotdiggity


Initial Code
stop();

var timer:Timer = new Timer(10000, 1);
timer.addEventListener(
  TimerEvent.TIMER,
  function(evt:TimerEvent):void {
    play();
  }
);
timer.start();

Initial URL

                                

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

Initial Title
Pause frame using ActionScript 3

Initial Tags
actionscript, flash, 3

Initial Language
ActionScript 3