Posted By

hotdiggity on 07/21/09


Tagged

actionscript flash


Versions (?)

Who likes this?

2 people have marked this snippet as a favorite

mikeingz
aaearhart


Pause frame using ActionScript 2


 / Published in: ActionScript
 

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

  1. stop();
  2. var interval:Number = setInterval(
  3. function():Void {
  4. play();
  5. clearInterval(interval);
  6. },
  7. 10000
  8. );

Report this snippet  

You need to login to post a comment.