-
I am building a tabbed navigation system. There will be a total of 4 tabs when finished. All start in an "up" position. When you click a tab, it slides downward. So now there is one tab down and 3 up. When you click on one of the tabs still in the up position at this point, I want the one that is down to go to its up position while the tab that was just clicked slides to the down state. Therefore, only one tab can be in the down state at any one time. Also, the MCs are not set up as one frame is up, one is down. The down state is a 5 frame motion tween and so is the up state. All MCs are on the main timeline. If anyone knows how to check for condition from one MC to another, please HELP!
-
all you have to do is keep track of the movieclip which is in the down position, do this by specifiying the movieclip name which is currently in the down postion, if you are using buttons to move between up and down states then simpy do:
on(press){
if(_root.lastpressed != null){
_root[_root.lastpressed].gotoAndStop("up")
}
_root.lastpressed=_name
gotoAndStop("down")
}
Hope that helps!
-
Thanks for the help Guru. I really appreciate it. Once I made a slight modification to the script it works perfectly. Thanks again!