Packagecom.vmware.widgets.events
Classpublic class AdvancedMouseEvent
InheritanceAdvancedMouseEvent Inheritance flash.events.MouseEvent

An event which is dispatched for right and middle mouse button events, by the application. The native Flash MouseEvents (right and middle click) are suppressed on purpose to ensure a consistent support across OS and browser type and to avoid the Flash context menu.

To listen for a right or middle mouse event, components should add listeners for AdvancedMouseEvent.RIGHT_CLICK or AdvancedMouseEvent.MIDDLE_CLICK, respectively.

If a component needs to dispatch a mouse click event, it should dispatch the Flex default MouseEvent, not AdvancedMouseEvent.

See also

flash.events.MouseEvent


Public Constants
 ConstantDefined By
  MIDDLE_CLICK : String = middleClick
[static] Occurs when the user middle-clicks on a component.
AdvancedMouseEvent
  MIDDLE_MOUSE_DOWN : String = middleMouseDown
[static] Occurs when the user presses down the middle mouse button.
AdvancedMouseEvent
  MIDDLE_MOUSE_UP : String = middleMouseUp
[static] Occurs when the user releases the middle mouse button.
AdvancedMouseEvent
  RIGHT_CLICK : String = rightClick
[static] Occurs when the user right-clicks on a component.
AdvancedMouseEvent
  RIGHT_MOUSE_DOWN : String = rightMouseDown
[static] Occurs when the user presses down the right mouse button.
AdvancedMouseEvent
  RIGHT_MOUSE_UP : String = rightMouseUp
[static] Occurs when the user releases the right mouse button.
AdvancedMouseEvent
Constant Detail
MIDDLE_CLICKConstant
public static const MIDDLE_CLICK:String = middleClick

Occurs when the user middle-clicks on a component.

MIDDLE_MOUSE_DOWNConstant 
public static const MIDDLE_MOUSE_DOWN:String = middleMouseDown

Occurs when the user presses down the middle mouse button.

MIDDLE_MOUSE_UPConstant 
public static const MIDDLE_MOUSE_UP:String = middleMouseUp

Occurs when the user releases the middle mouse button.

RIGHT_CLICKConstant 
public static const RIGHT_CLICK:String = rightClick

Occurs when the user right-clicks on a component.

RIGHT_MOUSE_DOWNConstant 
public static const RIGHT_MOUSE_DOWN:String = rightMouseDown

Occurs when the user presses down the right mouse button.

RIGHT_MOUSE_UPConstant 
public static const RIGHT_MOUSE_UP:String = rightMouseUp

Occurs when the user releases the right mouse button.