Return to Snippet

Revision: 15908
at July 21, 2009 02:58 by hotdiggity


Initial Code
stop();
var interval:Number = setInterval(
  function():Void {
    play();
    clearInterval(interval);
  },
  10000
);

Initial URL


Initial Description
On a new layer, add the following Actionscript to the frame requiring to be paused.
1000 represents the delay in milliseconds, being 1 second.

Initial Title
Pause frame using ActionScript 2

Initial Tags
actionscript, flash

Initial Language
ActionScript