ContextMenuItem
Object
|
+-ContextMenuItem
public dynamic class ContextMenuItem
extends Object
The ContextMenuItem class allows you to create custom menu items to display in the Flash Player context menu. Each ContextMenuItem object has a caption (text) that is displayed in the context menu, and a callback handler (a function) that is invoked when the menu item is selected. To add a new context menu item to a context menu, you add it to the customItems array of a ContextMenu object.
You can enable or disable specific menu items, make items visible or invisible, or change the caption or callback handler associated with a menu item.
Custom menu items appear at the top of the context menu, above any built-in items. A separator bar always divides ...
Get ActionScript 2.0 Language Reference for Macromedia® Flash® 8 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.