I can't find where in my code I am doing it, but I am. I don't remember
caring about the distinction between the two types of context menus. So
just try it and it will probably work.
- Daniel Freiman
On Tue, Jun 24, 2008 at 12:46 PM, sbx33 <[EMAIL PROTECTED]> wrote:
> 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
>
>
>