2 Replies Latest reply: Sep 24, 2012 9:39 AM by Harald Heim RSS

    Capturing right clicks in flash panels

    Harald Heim Community Member

      Is there a possibility to capture a right click in a Photoshop flash panel?

       

      When running a SWF in a browser you can right click to display a context menu, which can be populated with own items. But when running a flash panel in Photoshop and you right click somewhere no context menu is displayed. If you right click on a flex list or tree control it selects an item as if it you had left clicked.

       

      I know that there is MouseEvent.RIGHT_CLICK constant, but appearently it only works in AIR applications. But I read that flash panels run in the AIR player engine. The problems is that Flex Builder does not compile the swf if I use MouseEvent.RIGHT_CLICK with addEventListener.

       

      Is there any other possibility?