Packagepq.multitouch
Classpublic class TouchManager
Inheritance TouchManager InheritanceObject

The TouchManager class handles all touch blobs which are captured on the same certain display object.



Public Properties
 PropertyDefined by
   obj : DisplayObject
[read-only]Get the DisplayObject under this TouchManager instance's control.
TouchManager
   touchIDs : Array
[read-only]Get the TouchID array. touchIDs stores all touch-IDs which has been touched down on the display object that is under TouchMananger's control.
TouchManager
Public Methods
 MethodDefined by
   TouchManager(o:DisplayObject):void
The TouchManager class handles all touch blobs which are down on the same certain display object.
TouchManager
  
getLocalBlob(touchID:int):Blob
Get the instance of the local touch blob through touchID.
TouchManager
Property detail
obj property  
obj:DisplayObject [read-only]

Get the DisplayObject under this TouchManager instance's control.

Implementation

public function get obj():DisplayObject

touchIDs property  
touchIDs:Array [read-only]

Get the TouchID array. touchIDs stores all touch-IDs which has been touched down on the display object that is under TouchMananger's control.

Implementation

public function get touchIDs():Array

Method detail
TouchManager()method 
public function TouchManager(o:DisplayObject):void

The TouchManager class handles all touch blobs which are down on the same certain display object.

Parameters

o:DisplayObject — A DisplayObect instance.

getLocalBlob()method 
public static function getLocalBlob(touchID:int):Blob

Get the instance of the global touch blob through touchID.

Parameters
touchID:int — int value indicates id of the touch blob.

Returns
Blob — A Blob instance.