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
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
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.
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 ...
Don't see what you're looking for? Try a search.
|