Hello All.
I’ve searched the forums and couldn’t find a post.
I’m using the kirupa xml drop down menu and it works fine. What I’d like to have and need help on is how to ‘close’ the submenu if you rolloff it or if you roll back up to a higher level.
If I put closeSubmenus(); on an onRollOut statement (like the current onRelease statement) the submenu is closed just by moving down to the next submenu item. I understand why this happens as each submenu item is just an instance of an attached movie and thus it works correctly. Is there a way to treat the whole submenu as one coherent entity (i.e. its own movie clip) so that it only hides when you rolloff the sides not from one menuitem to the next.
Also (if this affects any code help) I’ve modified the menu so that the submenus appear vertically below the mainmenu item as opposed to the right. All I did was change:
curr_item._x = x;
curr_item._y = y + i*curr_item._height;
Thanks for your help