Yes - you can add a ContextMenu that pops open when you right click in a Flex application. You can use the flash.ui.ContextMenu class to add custom menu items to your ContextMenu and then use event handling to invoke the desired behavior.
Attached is a simple example that shows how you can right click in a DataGrid cell and add that item to another DataGrid. This should point you in the right direction. deepa -----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of feel8335 Sent: Wednesday, September 13, 2006 9:37 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] have there any rightClick mouseEvent in Flex2? have there any rightClick mouseEvent in Flex? if not, then how to produce a right click event to provide more function , like rename a display object, change color or set icon on there???? THX~~! @@ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
example.mxml
Description: example.mxml