Packagecom.gestureworks.cml.element
Classpublic class Gesture
InheritanceGesture Inheritance ObjectFactory Inheritance flash.events.EventDispatcher

The Gesture class allows you to create gestures in CML.

It is not intended to be used outside of CML. Use native methods of the TouchSprite or TouchContainer to assign gestures in AS3.

When using this class as a CML tag, it a parent GestureList tag is required.

See also

GestureList
TouchContainer


Public Properties
 PropertyDefined By
 InheritedcmlIndex : int
sets the index of cml
ObjectFactory
 Inheritedid : String
sets the id
ObjectFactory
 InheritedpropertyStates : Array
Deprecated: Please Use state
ObjectFactory
 Inheritedstate : Array
property states array
ObjectFactory
Public Methods
 MethodDefined By
  
Constructor
Gesture
 Inherited
clone():*
Returns clone of self
ObjectFactory
  
dispose():void
[override] Dispose method
Gesture
  
parseCML(cml:XMLList):XMLList
[override] Parses cml file
Gesture
 Inherited
postparseCML(cml:XMLList):void
postparse method
ObjectFactory
 Inherited
updateProperties(state:Number = 0):void
update the properties
ObjectFactory
Constructor Detail
Gesture()Constructor
public function Gesture()

Constructor

Method Detail
dispose()method
override public function dispose():void

Dispose method

parseCML()method 
override public function parseCML(cml:XMLList):XMLList

Parses cml file

Parameters

cml:XMLList

Returns
XMLList