?
Solved

Movie clip symbol looping

Posted on 2003-10-25
4
Medium Priority
?
193 Views
Last Modified: 2010-04-03
I have a movie clip symbol that I want to run once when it appears on the stage.  It keeps repeating now -- how can I stop it?  Thanks.
0
Comment
Question by:ccarnovale
[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
4 Comments
 
LVL 27

Accepted Solution

by:
negatyve earned 200 total points
ID: 9620411
Drop this code to the movieclip:

onClipEvent(load){
      this.run = true;
}
onClipEvent(enterFrame){
      if(!this.run)return
      if(this._currentframe == this._totalframes){
            this.run = false;
            this.gotoAndStop(1);
      }
}
0
 
LVL 23

Expert Comment

by:Saqib Khan
ID: 9621534
ccarnovale Why dont you Click on the LAST Keyframe in your MovieClip and Put the Stop Action to it.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
The goal of the tutorial is to teach the user how to live broadcast using Flash Media Live Encoder and connecting it to YouTube to broadcast. Log into your Youtube account, choose live stream settings, start live stream from Flash Media Live Enc…
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.
Suggested Courses

765 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