alright i have 3 buttons that when pressed animate out 3 different menus on 3 different movie clips. So when you press button one, it does a gotoAndplay, animation out to say frame 10, which animates the menu appearing and then stops (with a stop script in frame 10).
All I want to do, is when someone has pressed say button 1 and had the menu load up, to have that menu disappear while the next menu is coming up. But I don’t want it to just vanish I would like it to basically go to frame 11 of that movieclip and play a short animation of the menu vanishing back.
Here’s the actionscript I’ve been working with
on (release) {
first_menu.gotoAndPlay(2);
if ("second_menu(15)") {
second_menu.gotoAndPlay(16);
}
}
so you see I basically want the button to recognize whether or not the second menu is open, and if so to play out the animation to close it. I realize my if statement isn’t working, because at this point no matter whether the first menu is open or not, it plays its exit script when the second button is pressed, so I know I’m close… Anyone help? I think I’m pretty close…