Pause frame using ActionScript 2


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

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


Copy this code and paste it in your HTML
  1. stop();
  2. var interval:Number = setInterval(
  3. function():Void {
  4. play();
  5. clearInterval(interval);
  6. },
  7. 10000
  8. );

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.