Packagepq.multitouch.events
Classpublic class BaseTouchEvent
Inheritance BaseTouchEvent Inheritance flash.events.Event

The BaseTouchEvent class is the base class for all events related with touch and gestures.



Public Properties
 PropertyDefined by
   frameID : Number
[read-only]Indicates the frameID related with the touch event or gesture event.
BaseTouchEvent
   timeStamp : Number
[read-only]Indicates the time stamp related with the touch event or gesture event.
BaseTouchEvent
   x : Number
[read-only]Indicates the center X-position related with the touch event or gesture event, in screen coordinate. If more than one touch blobs are related with this event, this property is an average value of all touch blobs. (NOTE: for RotateEvent, it indicates the X-position of rotate center but not the average center.)
BaseTouchEvent
   y : Number
[read-only]Indicates the center Y-position related with the touch event or gesture event, in screen coordinate. If more than one touch blobs are related with this event, this property is an average value of all touch blobs. (NOTE: for RotateEvent, it indicates the Y-position of rotate center but not the average center.)
BaseTouchEvent
Public Methods
 MethodDefined by
  
BaseTouchEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false, screenX:Number = NaN, screenY:Number = NaN)
Base class for all events related with touch and gestures.
BaseTouchEvent
Property detail
frameID property
frameID:Number [read-only]

Indicates the frameID related with the touch event or gesture event.

Implementation

public function get frameID():Number

timeStamp property
timeStamp:Number [read-only]

Indicates the time stamp related with the touch event or gesture event.

Implementation

public function get timeStamp():Number

x property
x:Number [read-only]

Indicates the center X-position related with the touch event or gesture event, in screen coordinate.

Implementation

public function get x():Number

y property
y:Number [read-only]

Indicates the center Y-position related with the touch event or gesture event, in screen coordinate.

Implementation

public function get y():Number