hi, don’t even know where to start but will do my best to describe what I am trying to accomplish
- have several buttons on a main stage. home, about, gallery
- I also have mc ,a little animation setup, its also located on a main stage I call it ‘animation_mc’
now when I press my first button ‘home_btn’ my animation goes
_root.animation_mc.gotoAndPlay('home');
this will play my animation from 1 to frame 10. so now when I press any other button I’d like this animation play backwards from frame ‘10’ to frame ‘1’ basically to put this animation in its home position. the animation is only active if home_btn is pressed. if any other buttons are pressed animation will stay in its home position (I mean without animating) the only way animation will become active if home_btn was pressed and took animation_mc from frame 1 to frame 10. than all the other buttons will be able ‘on press’ to put this animation back in its first frame but it has to play animation backwards. if home_btn was never pressed than other buttons wouldn’t react to animation_mc. in other words the animation_mc will stay in its home position (frame 1)
I hope its easy to understand