hi, i have a simple animation on my button when the mouse rolls over it and i want it to play in reverse when the user takes the mouse away from the button.
how can i do this, im sure it must be quite easy?
thx muchly :D
lev
Printable View
hi, i have a simple animation on my button when the mouse rolls over it and i want it to play in reverse when the user takes the mouse away from the button.
how can i do this, im sure it must be quite easy?
thx muchly :D
lev
Butons can not sidplay animation on rollOut.
You have to make a movieclip with your animations and then control what it should play with some actions ON the movieclip.
onClipEvent(load){
// Play normal animation
this.onRollOver=function(){
gotoAndPlay(2);
}
// Play the backward animation
this.onRollOut=function(){
gotoAndPlay(21);
}
}