-
Senior Blender
How do I script the timeline to play backwards?
Hi,
I'm trying to put a reverse fade on a button once you roll the mouse off it. I know how to get the button to fade in when the mouse rolls over it and I would really love it if someone could help me to script the timeline to play backwards so the "fade in" will "fade out".
Thanks.
LOVE YOUR WORK!!!!!!!!!
Blastbum
-
half as fun, double the price
onClipEvent(enterFrame){
prevFrame();
}
that will play a clip backwards.If you are using buttons to control this clip you can use them to set a variable for it and use that variable to determine its direction.
onClipEvent(enterFrame){
if (playingBackwards) prevFrame();
}
on(rollOver){
animationMC.playingBackwards = false
animationMC.play();
}
on(rollOver){
animationMC.playingBackwards = true
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|