ease out flash
- Started
- Last post
- 7 Responses
- Kiko
I have a button with a movie clip ease in on the over state. I would like the movie clip to reverse and ease out on mouse out. How is this possible?
- UndoUndo0
are you using keyframes or script?
- Kiko0
keyframes.
If you have any links to do it in script I would really appreciate it. As my scripting is crap.
- jevad0
are you targeting frames within the movieclip or just an animation on the timeline?
- krust0
onRollOver = onDragOver=function () {
onEnterFrame = function () { nextFrame();if (_currentframe == totalframes) {delete onEnterFrame;}};
};
onRollOut = onDragOut=function () {
onEnterFrame = function () { prevFrame();if (_currentframe == 1) {delete onEnterFrame;}};
};
stop();
- krust0
create your animation in a movieclip, then put that in the first frame of it.
- Kiko0
krust
you da man!!!
thanx so much
that bit os script is going in my saved files.Thanx
- ********0
or
create a movie clip
and animate it in the MC time line with a stop after first animation state (in this case there is a stop at key frame 10)
and on the root time line drop this inyourmovieClip.onRollOver = function(){
this.gotoAndPlay(2);
}
yourmovieClip.onRollOut = function(){
this.gotoAndPlay(11);
}