Solved

Movie clip symbol looping

Posted on 2003-10-25
4
191 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 50 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
The goal of the tutorial is to teach the user how to how to record live broadcast.

705 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