all groups > flash (macromedia) > july 2006 >
You're in the

flash (macromedia)

group:

motion tween to continue once mouse off ???


motion tween to continue once mouse off ??? bwclan
7/2/2006 6:53:48 PM
flash (macromedia): hi all , i have a movie clip that occurs when a button is moused over - when
you mouse off the mc stops in mid flow if it hasnt already finished itself. is
there a piece of code perhaps that will allow the mc to continue and finish
even if the button is moused off ?
regards
bwclan
Re: motion tween to continue once mouse off ??? bwclan
7/2/2006 8:49:45 PM
sorry , posted before checking the forums. have done so (here and on others)
but still cant find an answer ! i know how to get it so an mc reverses on mouse
off - but knowhere can i see how to let an mc continue to its end when moused
off - theres probaby a really basic solution that i cant see !!!
bwclan
Re: motion tween to continue once mouse off ??? Nickels55
7/2/2006 9:38:39 PM
If all you have is code like this on a button:

on(rollOver){
_root.movieclip-instance-name.play();
}

The movie will continue to play on rollout unless the movieclip has a stop();
action on it, or your button has code telling it to stop on rollout. What you
describe abpve doesn't sound right, and failed a test that I just tried in
Flash. A movieclip continued to loop on rollout of a button with the above code
attached to it.
Re: motion tween to continue once mouse off ??? bwclan
7/2/2006 9:57:26 PM
cheers nickels. have kinda solved it now - had the mc on the over state in the
button rather than on the timeline .. works now !
taaaa
although would be interesting if there was some code that made a button
inactive until the mc that has been triggered by mouseover has finished !!! i
have the button now activating the mc on the main timeline so that when you
mouse off the mc continues to playout but if you then mouse back over the
button whilst the mc is still playing then it stops that mc and starts a new
one !! ahhh well ...
Re: motion tween to continue once mouse off ??? Wolf van Ween
7/2/2006 10:09:49 PM
AddThis Social Bookmark Button