W3cubDocs

/Haxe Flash

TouchEvent

package flash.events

extends Event

@:require(flash10_1) Available on flash

Constructor

@:value({ shiftKey : false, altKey : false, ctrlKey : false, pressure : 0., sizeY : 0., sizeX : 0., localY : 0., localX : 0., isPrimaryTouchPoint : false, touchPointID : 0, cancelable : false, bubbles : true }) new (type:String, bubbles:Bool = true, cancelable:Bool = false, touchPointID:Int = 0, isPrimaryTouchPoint:Bool = false, localX:Float = 0., localY:Float = 0., sizeX:Float = 0., sizeY:Float = 0., pressure:Float = 0., ?relatedObject:InteractiveObject, ctrlKey:Bool = false, altKey:Bool = false, shiftKey:Bool = false)

Variables

altKey:Bool

ctrlKey:Bool

isPrimaryTouchPoint:Bool

isRelatedObjectInaccessible:Bool

localX:Float

localY:Float

pressure:Float

relatedObject:InteractiveObject

shiftKey:Bool

sizeX:Float

sizeY:Float

read only stageX:Float

read only stageY:Float

touchPointID:Int

Methods

updateAfterEvent ():Void

Static variables

static read only PROXIMITY_BEGIN:String

static read only PROXIMITY_END:String

static read only PROXIMITY_MOVE:String

static read only PROXIMITY_OUT:String

static read only PROXIMITY_OVER:String

static read only PROXIMITY_ROLL_OUT:String

static read only PROXIMITY_ROLL_OVER:String

static read only TOUCH_BEGIN:String

static read only TOUCH_END:String

static read only TOUCH_MOVE:String

static read only TOUCH_OUT:String

static read only TOUCH_OVER:String

static read only TOUCH_ROLL_OUT:String

static read only TOUCH_ROLL_OVER:String

static read only TOUCH_TAP:String

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