• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 323
  • Last Modified:

pause at the beginning of a movieclip

How do I add a pause to a movie clip, such that when the movie plays back it will start playing after 5 seconds?

CS4 AS3.0
0
Tom Knowlton
Asked:
Tom Knowlton
  • 2
2 Solutions
 
Anuradha GoliSystems Development / Support SpecialistCommented:
Insert an empty MovieClip in the frame when you to stop the movie, open the Actions Panel and put this code on the MovieClip actions:

onClipEvent (load) {
this._parent.stop();
seconds = 5;
timer = getTimer();
}
0
 
Tom KnowltonWeb developerAuthor Commented:
It is not working.

As soon as I try to paste in the action script it says there are errors.
0
 
blue-genieCommented:
that code snippet is not AS3.

here info on how to use the timer class in AS3

http://www.republicofcode.com/tutorials/flash/as3timer/



0
 
Tom KnowltonWeb developerAuthor Commented:
thx
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now