3 Replies Latest reply on Aug 1, 2008 8:26 AM by g-s-b

    Detecting Right click event

      How can I detect Right click event in Adobe flex??
        • 1. Re: Detecting Right click event
          atta707 Level 2
          see the buttonDown boolean property of MouseEvent class. That's the type of event you'll receive when you listen for click event on some component in Flex.
          • 2. Re: Detecting Right click event
            aruvasavi Level 1

            Thank u!!
            I know button down property will be true for left click n false for right click!!
            I already tried it, its not working!!
            Can u send me a sample Example code to do this!!
            Thank u very much!!

            Thnaks n Regards
            • 3. Re: Detecting Right click event
              g-s-b Level 1
              Some key codes are captured by the host system and not passed to Flash Player ( I believe. ) Others are captured by the Flash Player and not given to the application, I think. The right click is used by he browser and the flash player for "context menu" access.

              You can always use the context menu methods so that when triggered you can take self notification of the event. But you can not stop the context menu functionality.