Solved

pause at the beginning of a movieclip

Posted on 2010-09-22
4
310 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:knowlton
  • 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: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:knowlton
ID: 33745137
thx
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
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.

911 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now