Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Movie clip symbol looping

Posted on 2003-10-25
4
Medium Priority
?
196 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

Industry Leaders: 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

There are times in your Flash CS4 application when you want more than a simple pointer or a hand, and it's hard to find an ideal walk-through to tell you what to do.  I spent a few days recently learning my way around making custom cursors in Flash,…
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 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): …
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…

610 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