?
Solved

pause at the beginning of a movieclip

Posted on 2010-09-22
4
Medium Priority
?
317 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 200 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 1800 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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 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…
The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
Suggested Courses
Course of the Month9 days, 4 hours left to enroll

764 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