User Guide

MenuBar component (Flash Professional only) 587
boolean A Boolean value indicating whether the menu item at the specified index is enabled
(
true) or not (false).
Returns
Nothing.
Description
Method; enables the menu at the specified index. If there is no menu at that index, calling this
method has no effect.
Example
The following example enables the item at index 3 in the MenuBar object myMenuBar:
myMenuBar.setMenuEnabledAt(3, true);