![]() ![]() | |
Flash Player 7.
menuItem_cmi.enabled
Property; a Boolean value that indicates whether the specified menu item is enabled or disabled. By default, this property is true.
The following example creates a new context menu item and then disables that menu item.
var saveMenuItem = new ContextMenuItem("Save...", doSave);
saveMenuItem.enabled = false;
![]() ![]() | |