| Package | com.vmware.widgets.events |
| Class | public class AdvancedMouseEvent |
| Inheritance | AdvancedMouseEvent 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
| Constant | Defined 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 | ||
| MIDDLE_CLICK | Constant |
public static const MIDDLE_CLICK:String = middleClickOccurs when the user middle-clicks on a component.
| MIDDLE_MOUSE_DOWN | Constant |
public static const MIDDLE_MOUSE_DOWN:String = middleMouseDownOccurs when the user presses down the middle mouse button.
| MIDDLE_MOUSE_UP | Constant |
public static const MIDDLE_MOUSE_UP:String = middleMouseUpOccurs when the user releases the middle mouse button.
| RIGHT_CLICK | Constant |
public static const RIGHT_CLICK:String = rightClickOccurs when the user right-clicks on a component.
| RIGHT_MOUSE_DOWN | Constant |
public static const RIGHT_MOUSE_DOWN:String = rightMouseDownOccurs when the user presses down the right mouse button.
| RIGHT_MOUSE_UP | Constant |
public static const RIGHT_MOUSE_UP:String = rightMouseUpOccurs when the user releases the right mouse button.