Hello!
Per the Flex documentation:
"Flash Player has three types of context menus: the standard menu
(which appears when you right-click in Flash Player), the edit menu
(which appears when you right-click a selectable or editable text
field), and an error menu (which appears when a SWF file has failed to
load into Flash Player). Only the standard and edit menus can be
modified with the ContextMenu class."
I have been able to add custom menu items to the "standard menu"
however, I'm wondering if anyone knows how to add custom menu items to
the "edit menu" on a flex component, such as a TextArea.
The code I am using to add items to the "standard menu" is:
var newCM:ContextMenu = new ContextMenu();
var newCMI:ContextMenuItem = new ContextMenuItem("New Item");
newCM.customItems.push(newCMI);
TIA!
-Mac