The TouchSpriteBase class is the base class for all touch and gestures enabled
Sprites that require additional display list management.
Properties
mouseChildren="false"
touchChildren="false"
targetParent = "false"
disableNativeTransform = "true"
disableAffineTransform = "true"
gestureEvents = "true"
clusterEvents = "false"
transformEvents = "false"
public var _$height:Number = 0
public var _$rotation:Number = 0
public var _$scaleX:Number = 1
public var _$scaleY:Number = 1
public var _$width:Number = 0
public var _$x:Number = 0
public var _$y:Number = 0
public var _gestureTweenOn:Boolean = false
$rotation:Number
Implementation public function get $rotation():Number
public function set $rotation(value:Number):void
$scaleX:Number
Implementation public function get $scaleX():Number
public function set $scaleX(value:Number):void
$scaleY:Number
Implementation public function get $scaleY():Number
public function set $scaleY(value:Number):void
$transformPoint:Point
Implementation public function get $transformPoint():Point
public function set $transformPoint(value:Point):void
$x:Number
Implementation public function get $x():Number
public function set $x(value:Number):void
$y:Number
Implementation public function get $y():Number
public function set $y(value:Number):void
broadcastTarget:Boolean
Implementation public function get broadcastTarget():Boolean
public function set broadcastTarget(value:Boolean):void
clusterBubbling:Boolean
Allows touch points from a childclusters to copy into container touch objects
in the local parent child display list stack. This allows the for the concept of parallel
clustering of touch point. Where a single touch point can simultaniuosly be a
member of multiple touch point clusters. This allows multiple gestures to be
dispatched from multiple touch objects from a set of touch points.
Implementation public function get clusterBubbling():Boolean
public function set clusterBubbling(value:Boolean):void
clusterEvents:Boolean
Determins whether clusterEvents are processed and dispatched on the touchSprite.
Implementation public function get clusterEvents():Boolean
public function set clusterEvents(value:Boolean):void
clusterID:int
Implementation public function get clusterID():int
public function set clusterID(value:int):void
cml_item:Boolean
Implementation public function get cml_item():Boolean
public function set cml_item(value:Boolean):void
public var cO:ClusterObject
debugDisplay:Boolean
Implementation public function get debugDisplay():Boolean
public function set debugDisplay(value:Boolean):void
deltaFilterOn:Boolean
Determins whether filtering is applied to the delta values.
Implementation public function get deltaFilterOn():Boolean
public function set deltaFilterOn(value:Boolean):void
disableAffineTransform:Boolean
Determins whether internal (native) transformations are affine (dynamically centered) on the touchSprite.
Implementation public function get disableAffineTransform():Boolean
public function set disableAffineTransform(value:Boolean):void
disableNativeTransform:Boolean
Determins whether transformations are handled internally (natively) on the touchSprite.
Implementation public function get disableNativeTransform():Boolean
public function set disableNativeTransform(value:Boolean):void
dN:Number
Implementation public function get dN():Number
public function set dN(value:Number):void
public static var GESTRELIST_UPDATE:String = gestureList update
gestureEventComplete:Boolean
Indicates weather all gestureEvents have been completed on the touchSprite.
Implementation public function get gestureEventComplete():Boolean
public function set gestureEventComplete(value:Boolean):void
gestureEventRelease:Boolean
Indicates whether all touch points have been released on the touchSprite.
Implementation public function get gestureEventRelease():Boolean
public function set gestureEventRelease(value:Boolean):void
gestureEvents:Boolean
Determins whether gestureEvents are processed and dispatched on the touchSprite.
Implementation public function get gestureEvents():Boolean
public function set gestureEvents(value:Boolean):void
gestureEventStart:Boolean
Indicates whether any gestureEvents have been started on the touchSprite.
Implementation public function get gestureEventStart():Boolean
public function set gestureEventStart(value:Boolean):void
gestureFilters:Boolean
Implementation public function get gestureFilters():Boolean
public function set gestureFilters(value:Boolean):void
gestureList:Object
Implementation public function get gestureList():Object
public function set gestureList(value:Object):void
gestureReleaseInertia:Boolean
Determins whether release inertia is given to gestureEvents on the touchSprite.
Implementation public function get gestureReleaseInertia():Boolean
public function set gestureReleaseInertia(value:Boolean):void
gestureTouchInertia:Boolean
Determins whether touch inertia is processed on the touchSprite.
Implementation public function get gestureTouchInertia():Boolean
public function set gestureTouchInertia(value:Boolean):void
gestureTweenOn:Boolean
Implementation public function get gestureTweenOn():Boolean
public function set gestureTweenOn(value:Boolean):void
N:int
Implementation public function get N():int
public function set N(value:int):void
nestedTransform:Boolean
Implementation public function get nestedTransform():Boolean
public function set nestedTransform(value:Boolean):void
pointArray:Vector.<PointObject>
[read-only]
Implementation public function get pointArray():Vector.<PointObject>
pointCount:int
Implementation public function get pointCount():int
public function set pointCount(value:int):void
public var sO:StrokeObject
targeting:Boolean
Turns off manual ALL targeting control, defaults to a simple hit test
targeting model with exclusive target clustering
Implementation public function get targeting():Boolean
public function set targeting(value:Boolean):void
targetList:Array
Allows touch and gesture events to explicitly target a group of defined
touch objects which can be outside of the local parent child display list stack
Implementation public function get targetList():Array
public function set targetList(value:Array):void
targetObject:Object
Allows touch and gesture events to explicitly target a touch object
this can be outside the local parent child display list stack
Implementation public function get targetObject():Object
public function set targetObject(value:Object):void
targetParent:Boolean
Allows touch and gesture events to explicitly target the parent touch object
Implementation public function get targetParent():Boolean
public function set targetParent(value:Boolean):void
public var tc:TouchCluster
public var tg:TouchGesture
public var tiO:TimelineObject
touchChildren:Boolean
Implementation public function get touchChildren():Boolean
public function set touchChildren(value:Boolean):void
touchObjectID:int
[read-only]
Implementation public function get touchObjectID():int
public var tp:TouchPipeline
traceDebugModeOn:Boolean
Implementation public function get traceDebugModeOn():Boolean
public function set traceDebugModeOn(value:Boolean):void
transformComplete:Boolean
Implementation public function get transformComplete():Boolean
public function set transformComplete(value:Boolean):void
transformEventComplete:Boolean
Implementation public function get transformEventComplete():Boolean
public function set transformEventComplete(value:Boolean):void
transformEvents:Boolean
Determins whether transformEvents are processed and dispatched on the touchSprite.
Implementation public function get transformEvents():Boolean
public function set transformEvents(value:Boolean):void
transformEventStart:Boolean
Implementation public function get transformEventStart():Boolean
public function set transformEventStart(value:Boolean):void
transformGestureVectors:Boolean
Determins whether transformations are handled internally (natively) on the touchSprite.
Implementation public function get transformGestureVectors():Boolean
public function set transformGestureVectors(value:Boolean):void
transformStart:Boolean
Implementation public function get transformStart():Boolean
public function set transformStart(value:Boolean):void
public var trO:TransformObject
public var tt:TouchTransform
x_lock:Boolean
Implementation public function get x_lock():Boolean
public function set x_lock(value:Boolean):void
y_lock:Boolean
Implementation public function get y_lock():Boolean
public function set y_lock(value:Boolean):void
public function TouchSprite()
override public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers event listeners. Also processes GWTouchEvents by evaluating which types of touch events (TUIO, native touch, and mouse) are active then registers
and dispatches appropriate events.
Parameters
| type:String |
|
| listener:Function |
|
| useCapture:Boolean (default = false )
|
|
| priority:int (default = 0 )
|
|
| useWeakReference:Boolean (default = false )
|
public function onTouchDown(event:TouchEvent, target:* = null):void
decides how to assign the captured touch point to a cluster
can pass to parent, an explicit target, an explicit list or
targets or a passed to any touch object in the local display stack.
Parameters
| event:TouchEvent |
|
| target:* (default = null )
|
public function updateClusterAnalysis():void
public function updateDebugDisplay():void
public function updateGesturePipeline():void
public function updateListeners():void
Registers/unregisters event handlers depending on the active modes
public function updateMotionClusterAnalysis():void
public function updateSensorClusterAnalysis():void
public function updateTObjProcessing():void
Tue Apr 16 2013, 03:24 PM -06:00