Tag Archive for 'contextmenu'

27
Aug

Using a clipboard menu in Flex with Flash Player 10

The following example shows how you can set a clipboard menu and specify custom clipboard items on a context menu by setting the contextMenu and clipboardItems properties.

Full code after the jump.

Continue reading ‘Using a clipboard menu in Flex with Flash Player 10′

26
Aug

Adding a link to context menu in Flash Player 10

The following example shows how you can add a custom link to a context menu in Flex Gumbo and Flash Player 10 by setting the link and contextMenu properties.

Full code after the jump.

Continue reading ‘Adding a link to context menu in Flash Player 10′

31
Dec

Creating a custom context menu on a RichTextEditor control in Flex

The following example shows how you can add custom context menu commands to a RichTextEditor control in Flex by setting the contextMenu property.

Full code after the jump.

Continue reading ‘Creating a custom context menu on a RichTextEditor control in Flex’

20
Aug

Using a custom context menu with the Flex DataGrid control

I saw this question come up on a list today and thought this was pretty handy. Plus, I think it is the first time I’ve had a chance to play with the ContextMenu and ContextMenuItem classes in Flex in quite a while.

The following example pops up a custom context menu when the user right-clicks on an item in an data grid. After selecting the custom item (”View item…”) from the context menu an Alert control is displayed showing the selected item’s properties.

Full code after the jump.

Continue reading ‘Using a custom context menu with the Flex DataGrid control’