PDA

View Full Version : reversing MC, then play a different MC ???


juiceman
07-25-2001, 06:30 PM
I have 4 menu items which are MC's and whos instance names are as follows:
_root.menu01
_root.menu02
_root.menu03
_root.menu04

menu01 and menu02 have submenus with instance names:
_root.menu01.submenus01
_root.menu02.submenus02


I searched ActionScripts.org and found the post by:
User: Michelsen Topic: Menu Flow which has Jesse's hideThem() code (thanks) and I am using (see FLA) in the movie.

When 'Menu1' is clicked, the submenu buttons (in MC called submenus01_mc) fade in left to right and stop. Which is fine, until you click that button again; then the MC plays again (reverse fading).

When 'Menu2' button is clicked, _root.menu01.submenus01 becomes hidden. Instead of being hidden, I would like the submenus01 to reverse first, then play the corresponding submenu MC.

If you look at the code in the FLA (frame1), I think I am missing something to tell the active submenu to reverse, then play the other one.

http://www.randin.com/juiceman/menu_test.html (to see menu)
http://www.randin.com/juiceman/menu_test.fla (to dwnld)