PDA

View Full Version : movie cilp buttons...



mlkedave
February 2nd, 2004, 10:11 PM
I am making a movie clip that acts a button. I am pretty much using the good old
on{rollover} gotoandStop(2) (i know this isn't the right format but you guys get the idea.

Well is there any way i can make it so my onRollOver effect finishes before my onRollOut effect occurs (like if a ball bounces when I roll over it, can I make it so it finishes bouncing even though i rolloff before the animation ends, and then triggers the onRollOut effect?)

Thanks for any suggestions.

Mike

GreenLantern
February 3rd, 2004, 12:30 AM
I'm sure there are some tutorials/posts about this somewhere on this site. Try searching around. I'll give you my advice.....

I'm thinking you should probably use the hitTest to see if the mouse is over your movie clip.
If the mouse is over your movie clip play it.
If the mouse is not over it and your movie clip is on frame one, don't do anything.
if your mouse is not over it and your movie clip is not on frame one, continue to play the movie then play the rollout section of the movie.

Make any sense?

lunatic
February 3rd, 2004, 02:44 PM
Check this (http://www.toolblast.com/interactive/downloads/index.php?subaction=showfull&id=1074710021&archive=&start_from=&ucat=2&) out. It's one of Senocular's divine creations.

;)