![]() ![]() Sets the ctrlKey property of the event object. Boolean that indicates the Control key state. Sets the clientY property of the event object. Integer that specifies the x-coordinate of the mouse pointer relative to the top-left corner of the browser window's client area. Sets the clientX property of the event object. Sets the screenY property of the event object. Integer that specifies the y-coordinate of the mouse pointer relative to the top-left corner of the screen. Sets the screenX property of the event object. Integer that specifies the x-coordinate of the mouse pointer relative to the top-left corner of the screen. Sets the detail property of the event object. For mouse click events specifies the number of clicks, for mouse scroll events specifies the distance that the mouse wheel rolled. Integer that specifies additional information about the event. Sets the view property of the event object. Reference to the window object in which the event is supposed to have occurred. The ScreenMouseEvent.RIGHT_MOUSE_UP constant defines the value of the type ![]() Public static const RIGHT_MOUSE_UP: String = "rightMouseUp" Property of a rightMouseDown event object. ![]() The ScreenMouseEvent.RIGHT_MOUSE_DOWN constant defines the value of the type Public static const RIGHT_MOUSE_DOWN: String = "rightMouseDown" The ScreenMouseEvent.RIGHT_CLICK constant defines the value of the type Public static const RIGHT_CLICK: String = "rightClick" ![]() The ScreenMouseEvent.MOUSE_UP constant defines the value of the type Public static const MOUSE_UP: String = "mouseUp" The ScreenMouseEvent.MOUSE_DOWN constant defines the value of the type Public static const MOUSE_DOWN: String = "mouseDown" The SystemTrayIcon object under the pointing device. The vertical coordinate at which the event occurred in screen coordinates. The horizontal coordinate at which the event occurred in screen coordinates. True if the Ctrl or Control key is active false if it is inactive. True on the Mac if the Command key is active false if it is inactive. True if the Shift key is active false if it is inactive. The object that is actively processing the Event true on Mac if either the Ctrl key or the Command key is active. True on Windows or Linux if the Ctrl key is active. workaround is to use JavaScript to detect mouse event then calculate the new scroll speed and. True if the primary mouse button is pressed false otherwise. Keep in mind, This will work only for desktop screens. This event has the following relevant properties: Property The ScreenMouseEvent.CLICK constant defines the value of the type Public static const CLICK: String = "click" ShiftKey: Boolean (default = false) - Set to true to indicate that the shift key was down when this event occured.īuttonDown: Boolean (default = false) - Set to true to indicate that a mouse button was down when this event occured.ĬommandKey: Boolean (default = false) - Indicates whether the Command key was down (Mac only).ĬontrolKey: Boolean (default = false) - Indicates whether the Ctrl or Control key was down. On Mac, indicates whether the Ctrl key or the Command key was down.ĪltKey: Boolean (default = false) - Set to true to indicate that the alt key was down when this event occured. ScreenY: Number (default = NaN) - Set to false since there is no default behavior to cancel.ĬtrlKey: Boolean (default = false) - On Windows or Linux, indicates whether the Ctrl key was down when this event occurred. ScreenX: Number (default = NaN) - Set to false since screen mouse events never bubble. Event listeners can access this informationīubbles: Boolean (default = false) - The X position of the click in screen coordinates.Ĭancelable: Boolean (default = false) - The Y position of the click in screen coordinates. Public function ScreenMouseEvent(type: String, bubbles: Boolean = false, cancelable: Boolean = false, screenX: Number = NaN, screenY: Number = NaN, ctrlKey: Boolean = false, altKey: Boolean = false, shiftKey: Boolean = false, buttonDown: Boolean = false, commandKey: Boolean = false, controlKey: Boolean = false)Ĭreates a ScreenMouseEvent object that contains the mouse location in ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |