Solved

Rollover and start playing movie clip question

Posted on 2006-07-10
1
574 Views
Last Modified: 2012-08-14
Hi, experts

I put a onRollover to start a movie clip to move ( mc.gotoAndPlay(2)) then...if I keep rollOver then every time i roll over then it will play mc.gotoAndPlay(2) over again....how do I make it just play once even I roll over wheile mc.gotoAndPlay(2) is still playing... thanks
0
Comment
Question by:mingchih
[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
1 Comment
 
LVL 34

Accepted Solution

by:
Aneesh Chopra earned 500 total points
ID: 17078645
Hi,

use following code
------------
on (rollOver) {
      if (mc._currentframe == 1) {
            mc.gotoAndPlay(2);
      }
}
----------

above code will check, if current frame is 1 than only it will start playing from frame 2

Rgds
Aneesh
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Here are some practices and techniques that can be adopted into your Flash/Flex application development process. Note: Not all "performance tips" provide an immediately-recognizable benefit.   This article does not include timing validation data,…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
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 use the auto adjust feature and what the different options do. When your video is not working right you can choose the auto adjust feature to help choose your settings.

691 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