Solved

pause at the beginning of a movieclip

Posted on 2010-09-22
4
309 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Flash media server 1 325
flash cs6 4 334
How to display a webpage in a flash 10 344
Where to download Acrobat flash offline installer? 2 232
This is a very simple example to help those of you who are still migrating from AS2 to AS3 understand the redesigned event model in AS3. In AS2.0, event functions (that is, the function to be performed when an event is fired) were stored as a pro…
I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
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.

706 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

22 Experts available now in Live!

Get 1:1 Help Now