Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

movie clip as button problem - again! 1

Status
Not open for further replies.

tviman

Programmer
Jul 25, 2002
2,123
US
Hi all...

I am using a small movie clip as a button that plays on a mouse rollover. However, if the mouse stays on the clip/button, the clip never finishes it's complete animation.

I'm using on(rollOver) {_root.about.gotoAndPlay(2);} to activate the clip. I have a stop(); action on frame 1 and have tried putting a stop(); on the last frame of the movie but it never seems to stop.

Help!!!

There's always a better way. The fun is trying to find it!
 
The on(rollOver) is on the clip?

Can you post a link to a mockup .fla of this thing?
 
So what happens next?
It rotates a couple of times, and then stops?
Do you want an on(release) action on this button?
What about on a rollOut? Nothing happens?
 
Oldnewbie,

Thanks for the help. As long as the mouse is in the rollover position, it continues to rotate. I want it to rotate just once. The rollout and press are not a factor at this time.

There's always a better way. The fun is trying to find it!
 
Here ya go, I just added an invisible box above the text in your spin MC...the text was causing the onRollOver to miss its hit when the text itself rolled off the mouse...I also added a stop(); in the last frame of that MC.


Hope it helps..

Hey look, Old, I'm finally catching on!! ;)

Adam
 
Not bloody likely....if I have anything to say about it!!

;-)
 
Adam14,

Thank mucho! That's just what I wanted! Now, how do you make an invisible box?

There's always a better way. The fun is trying to find it!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top