linque
September 8th, 2002, 06:10 PM
if I make a popup menu with submenus, and I make multiple menus horizontally next to one another...
I know I can use invisible buttons to close the menu on rollOut, however, I've been advised using the "with" function would avoid confusion in the case where menus are close together. I'm a bit confused about doing it this way.
for one thing, assume the menus going horizontally are named menu1, menu2, menu3, etc.
the with action.. is this upon rollOver of menu 2 for example..then in that movieclip or menu instance, I'm asking menu1 to move to a closed state? or is the action using with within menu1?
confusion is... what if someone goes from menu3 to menu 2.. if the action is placed on menu2, how does it know which submenu to close?. Please help with the code, if you understand my poorly stated question.
I know I can use invisible buttons to close the menu on rollOut, however, I've been advised using the "with" function would avoid confusion in the case where menus are close together. I'm a bit confused about doing it this way.
for one thing, assume the menus going horizontally are named menu1, menu2, menu3, etc.
the with action.. is this upon rollOver of menu 2 for example..then in that movieclip or menu instance, I'm asking menu1 to move to a closed state? or is the action using with within menu1?
confusion is... what if someone goes from menu3 to menu 2.. if the action is placed on menu2, how does it know which submenu to close?. Please help with the code, if you understand my poorly stated question.