User Guide

884 Menu component (Flash Professional only)
Interacting with the Menu component
(Flash Professional only)
You can use the mouse and keyboard to interact with a Menu component.
After a Menu component is opened, it remains visible until it is closed by a script or until the
user clicks the mouse outside the menu or inside an enabled item.
Clicking selects a menu item, except with the following types of menu items:
Disabled items or separators Rollovers and clicks have no effect (the menu remains
visible).
Anchors for a submenu Rollovers activate the submenu; clicks have no effect; rolling onto
any item other than those of the submenu closes the submenu.
When an item is selected, a
Menu.change event is sent to all of the menus listeners, the menu
is hidden, and the following actions occur, depending on item type:
check The items selected attribute is toggled.
radio The item becomes the current selection of its radio group.
Moving the mouse triggers
Menu.rollOut and Menu.rollOver events.
Pressing the mouse outside the menu closes the menu and triggers a
Menu.menuHide event.
Releasing the mouse in an enabled item affects item types in the following ways:
check The items selected attribute is toggled.
radio The items selected attribute is set to true, and the previously selected items
selected attribute in the radio group is set to false. The selection property of the
corresponding radio group object is set to refer to the selected menu item.
undefined and the parent of a hierarchical menu The visibility of the hierarchical menu
is toggled.