In Adobe Flash and ActionScript 3.0, I have a movieclip within a button. I want to play the entire movie clip upon mouse over. However, the movieclip plays only untill the mouse is over. I want to play the movie clip till the end if the mouse was there.
Any help is appreciated. I found a blog but, it is valid for AS2 only. This is what I want to do, but with AS3 : EchoEcho
I am a noob for flash and I dont know what to share for this kind of problem. I will provide anything that is needed for solving the problem
Thanks
To make it simple... If you have an instance named "your_mc" that contains your animation (a MC named your_symbol in the library and you have a tween in the instance named "your_mc"
If the MovieClip is placed on the stage, You may try this.
Be careful this is not Class Based, and should be considered as a basic example! If You want something more specific, please, edit Your question!
Really basic example here:
fla file
swf file
This is not clean, so, just edit Your question if You want something more efficient please. If you want to play the entire MovieClip, just check MC.currentFrame and MC.total frames and add a Boolean value to check this. So the MC cannot stop before the end of the animation.
Best regards. Nicolas
[EDIT] This will play Your MovieClip to the end when the Mouse is over...
fla file
swf file
fla file
swf file
No more MouseEvent.MOUSE_OUT here if you want to play Your Movie Clip to the last frame.
The MouseEvent.MOUSE_OVER is only available when Your Movie clip animation is completed.
So as You didn't give feedback and the question is unclear : "DownVote"
[/EDIT]