Solved

pause at the beginning of a movieclip

Posted on 2010-09-22
4
314 Views
Last Modified: 2012-05-10
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
Comment
Question by:Tom Knowlton
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 12

Assisted Solution

by:Anuradha Goli
Anuradha Goli earned 50 total points
ID: 33739824
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
 
LVL 5

Author Comment

by:Tom Knowlton
ID: 33739874
It is not working.

As soon as I try to paste in the action script it says there are errors.
0
 
LVL 39

Accepted Solution

by:
blue-genie earned 450 total points
ID: 33745054
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
 
LVL 5

Author Closing Comment

by:Tom Knowlton
ID: 33745137
thx
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was asked to recommend a tracking system to be implemented on a clients website. As the entire site was built on flash, my first thought was to suggest custom built tracking system. However, our company at that point of time didn't h…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to set there setting in Adobe Flash Media Live Encoder and YouTube for optimal video and audio quality.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question