0 Replies Latest reply on Jul 27, 2009 4:08 PM by big4head

    AIR Right-Click Scripting

    big4head

      Folks:

       

      I am writing an AIR app that scripts right-clicking an item renderer in a custom component. The mouse event is captured but it seems that the item is immediately deselected (as if a context menu or other modal dialog were showing) before the event is captured. The cutom component is a Fisheye viewer that repositions and scales items on mouseover so any item that is sufficiently repostioned during mouseover "snaps back" to its non-highlighted position before event capture and therefore the event's target is incorrect or empty. Is there a way to override this behavior in air and maintain the mouseover after a right click?

       

      This seems kind of obvious but the docs make no mention as far as I can see.

       

      RG