PDA

View Full Version : How to retract menu buttons...



lariat1997
June 2nd, 2005, 11:09 PM
Hey All,

I've got a menu question.

I've created a menu, using 4 buttons inside of a movie clip. When one of the buttons is clicked the other 3 come sliding out and stay out. How can I reclick the same button to get the 3 buttons to slide back?

Thanks!

smoothblend
June 3rd, 2005, 10:08 AM
if (_root.menu != x) {
_root["b"+_root.menu].gotoAndPlay("off");
_root.b1.gotoAndPlay("on");
_root.menu = x;
}

Change X out with the # of buttons

lariat1997
June 3rd, 2005, 02:01 PM
I am not exactly sure where to place this as maybe you can see with my attached file.

Also, I am definitely no menu expert...this might not be the correct way to make them.