PDA

View Full Version : buttons that reverse


vegasFlasher
12-10-2001, 06:26 PM
tried searching the site for "reverse" but could't find what I needed.
I have two MC's that contain a different button on the main timeline. When the first button (inside the first MC) is clicked, it plays a short animation and then stops.
What I would like to do is when the second button (inside the second MC) is clicked, the first animation reverses and then the second animation will then play.
Thanx

Billy T
12-10-2001, 10:31 PM
have a look at this

vegasFlasher
12-11-2001, 07:06 AM
just what I needed. Thanks Billy T

vegasFlasher
12-13-2001, 12:13 AM
Billy T thanks for the FLA. Another question.
The FLA that you gave me works for two clips. Can you share with me the code so that I could have three or more clips doing the same actions
Thanks again

Billy T
12-13-2001, 12:27 AM
just add more code to the buttons

on (release) {
_root.mc1.goBack = false;
_root.mc1.play();
_root.mc2.goBack = true;
_root.mc3.goBack = true;
_root.mc4.goBack = true;
_root.mc5.goBack = true;
_root.mc6.goBack = true;
_root.mc7.goBack = true;
_root.mc8.goBack = true;
_root.mc9.goBack = true;

}