Packagecom.gestureworks.core
Classpublic class GestureWorks
InheritanceGestureWorks Inheritance GestureWorksCore Inheritance flash.display.Sprite
Subclasses GestureWorksAIR

The GestureWorks class is the core class that can be accessed from all classes within. It can be initialized as a super class, or as an instantiation; var gestureworks:GestureWorks = new GestureWorks(); You can add a .cml path; cml = ""; or new GestureWorks("pathToCml"); package { import com.gestureworks.core.GestureWorks; import flash.events.Event; public class Main extends GestureWorks { super(); cml = "library/cml/my_application.cml"; gml = "library/gml/my_gestures.gml"; fullscreen = true; } override protected function gestureworksInit():void { trace("GestureWorks has intialized"); } }



Public Properties
 PropertyDefined By
  activeMotion : Boolean
[static] Returns whether the motion framework is activated
GestureWorks
  activeNativeTouch : Boolean = true
[static] Returns whether native touch is activated
GestureWorks
  activeSensor : Boolean
[static] Returns whether the sensor framework is activated
GestureWorks
  activeSim : Boolean
[static] Returns whether simulation is activated.
GestureWorks
  activeTUIO : Boolean
[static] Returns whether TUIO is activated.
GestureWorks
  application : Stage
[static] Var = stage.
GestureWorks
 Inheritedauto : Boolean
Attempts to auto-select input type.
GestureWorksCore
 Inheritedcml : String
Sets cml file path.
GestureWorksCore
  _copyright : String = © 2009-2013 Ideum Inc.All Rights Reserved
[static]
GestureWorks
  copyright : String
[static] [read-only] Returns the current copyright information for GestureWorks.
GestureWorks
 Inheritedfullscreen : Boolean
Sets the application to fullscreen
GestureWorksCore
  GESTUREWORKS_COMPLETE : String = gestureworks complete
[static] String is the dispatcher for GestureWorks framework.
GestureWorks
 Inheritedgml : String
Sets gml file path.
GestureWorksCore
  isShift : Boolean
[static] Determines if Shift key is down or Up.
GestureWorks
 Inheritedkey : String
Deprecated: Please Use none
Deprecated: No longer requires a key.
GestureWorksCore
 Inheritedleap2D : Boolean
Turns leap 2D motion input on
GestureWorksCore
 Inheritedleap3D : Boolean
Turns leap 3D motion input on
GestureWorksCore
 Inheritedmotion : Boolean
Turns motion input on.Currently only supports Leap
GestureWorksCore
 InheritednativeTouch : Boolean
Overrides native touch input
GestureWorksCore
 Inheritedsensor : Boolean
Turns sensor input on.
GestureWorksCore
 Inheritedsimulator : Boolean
Turns on the mouse simulator.
GestureWorksCore
  supportsTouch : Boolean
[static] [read-only] Returns whether your device currently has touch support available.
GestureWorks
 Inheritedtuio : *
Enables tuio input.
GestureWorksCore
  _version : String = 4.1.0
[static]
GestureWorks
  version : String
[static] [read-only] Returns the current version of GestureWorks.
GestureWorks
Protected Properties
 PropertyDefined By
 Inheritedinitialized : Boolean = false
Returns whether gestureworks has initialized.
GestureWorksCore
 Inherited_supportsTouch : Boolean
[static] Returns whether your device currently has touch support available.
GestureWorksCore
Public Methods
 MethodDefined By
  
GestureWorks(cmlPath:String = null)
The GestureWorks constructor.
GestureWorks
 Inherited
loadGML(gml:String):void
Loads a gml file
GestureWorksCore
 Inherited
unloadGML(gml:String):void
Unloads a gml file
GestureWorksCore
Protected Methods
 MethodDefined By
 Inherited
GestureWorksCore
 Inherited
updateTouchObjects(obj:* = null):void
Updates event listeners depending on the active modes
GestureWorksCore
Property Detail
_copyrightproperty
public static var _copyright:String = © 2009-2013 Ideum Inc.All Rights Reserved

_versionproperty 
public static var _version:String = 4.1.0

activeMotionproperty 
public static var activeMotion:Boolean

Returns whether the motion framework is activated

activeNativeTouchproperty 
public static var activeNativeTouch:Boolean = true

Returns whether native touch is activated

activeSensorproperty 
public static var activeSensor:Boolean

Returns whether the sensor framework is activated

activeSimproperty 
public static var activeSim:Boolean

Returns whether simulation is activated.

activeTUIOproperty 
public static var activeTUIO:Boolean

Returns whether TUIO is activated.

applicationproperty 
public static var application:Stage

Var = stage.

copyrightproperty 
copyright:String  [read-only]

Returns the current copyright information for GestureWorks.


Implementation
    public static function get copyright():String
GESTUREWORKS_COMPLETEproperty 
public static var GESTUREWORKS_COMPLETE:String = gestureworks complete

String is the dispatcher for GestureWorks framework.

isShiftproperty 
public static var isShift:Boolean

Determines if Shift key is down or Up. For use with simulator.

supportsTouchproperty 
supportsTouch:Boolean  [read-only]

Returns whether your device currently has touch support available.


Implementation
    public static function get supportsTouch():Boolean
versionproperty 
version:String  [read-only]

Returns the current version of GestureWorks.


Implementation
    public static function get version():String
Constructor Detail
GestureWorks()Constructor
public function GestureWorks(cmlPath:String = null)

The GestureWorks constructor. var gestureworks:GestureWorks = new GestureWorks();

Parameters
cmlPath:String (default = null)