W3cubDocs

/Haxe Flash

MouseEvent

package flash.events

extends Event

Available on flash

Constructor

@:value({ delta : 0, buttonDown : false, shiftKey : false, altKey : false, ctrlKey : false, localY : 0, localX : 0, cancelable : false, bubbles : true }) new (type:String, bubbles:Bool = true, cancelable:Bool = false, localX:Float = 0, localY:Float = 0, ?relatedObject:InteractiveObject, ctrlKey:Bool = false, altKey:Bool = false, shiftKey:Bool = false, buttonDown:Bool = false, delta:Int = 0)

Variables

altKey:Bool

buttonDown:Bool

ctrlKey:Bool

delta:Int

@:require(flash10) isRelatedObjectInaccessible:Bool

localX:Float

localY:Float

@:require(flash11_2) movementX:Float

@:require(flash11_2) movementY:Float

relatedObject:InteractiveObject

shiftKey:Bool

read only stageX:Float

read only stageY:Float

Methods

updateAfterEvent ():Void

Static variables

static read only CLICK:String

@:require(flash11_2) static read only CONTEXT_MENU:String

static read only DOUBLE_CLICK:String

@:require(flash11_2) static read only MIDDLE_CLICK:String

@:require(flash11_2) static read only MIDDLE_MOUSE_DOWN:String

@:require(flash11_2) static read only MIDDLE_MOUSE_UP:String

static read only MOUSE_DOWN:String

static read only MOUSE_MOVE:String

static read only MOUSE_OUT:String

static read only MOUSE_OVER:String

static read only MOUSE_UP:String

static read only MOUSE_WHEEL:String

@:require(flash11_3) static read only RELEASE_OUTSIDE:String

@:require(flash11_2) static read only RIGHT_CLICK:String

@:require(flash11_2) static read only RIGHT_MOUSE_DOWN:String

@:require(flash11_2) static read only RIGHT_MOUSE_UP:String

static read only ROLL_OUT:String

static read only ROLL_OVER:String

© 2005–2018 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/flash/events/MouseEvent.html