Packagecom.gestureworks.utils
Classpublic class Recorder
InheritanceRecorder Inheritance flash.display.Sprite

...



Public Properties
 PropertyDefined By
  displayText : String
[write-only]
Recorder
  drawingOn : Boolean
Draw circles of touch input
Recorder
  drawOnReplay : Boolean
Draw circles of touch input on replay.
Recorder
  frameEvents : Array
[read-only]
Recorder
  isRecording : Boolean = false
Recorder
  isReplaying : Boolean = false
Recorder
  showDebugOutput : Boolean
Determines to show text on the stage with help info and output text.
Recorder
  stopRecordingOnTouchUp : Boolean
Decides to stop recording on touch up events, instead of waiting for stop key.
Recorder
Public Methods
 MethodDefined By
  
Recorder
  
clearAll():void
Recorder
  
Recorder
  
drawCircle(e:TouchEventProxy):void
Recorder
  
listenToStage(stage:Stage):void
The stage to listen to events from
Recorder
  
loadBinaryFile(byteArray:ByteArray):void
Recorder
  
loadFile():void
Recorder
  
saveToFile():void
Recorder
  
Recorder
  
Recorder
  
Recorder
  
Recorder
  
updateFrameEvents(frameEvents:Array):void
Recorder
Property Detail
displayTextproperty
displayText:String  [write-only]


Implementation
    public function set displayText(value:String):void
drawingOnproperty 
drawingOn:Boolean

Draw circles of touch input


Implementation
    public function get drawingOn():Boolean
    public function set drawingOn(value:Boolean):void
drawOnReplayproperty 
drawOnReplay:Boolean

Draw circles of touch input on replay. Ignored if drawingOn is false.


Implementation
    public function get drawOnReplay():Boolean
    public function set drawOnReplay(value:Boolean):void
frameEventsproperty 
frameEvents:Array  [read-only]


Implementation
    public function get frameEvents():Array
isRecordingproperty 
public var isRecording:Boolean = false

isReplayingproperty 
public var isReplaying:Boolean = false

showDebugOutputproperty 
showDebugOutput:Boolean

Determines to show text on the stage with help info and output text. Must be set before the call listenToStage


Implementation
    public function get showDebugOutput():Boolean
    public function set showDebugOutput(value:Boolean):void
stopRecordingOnTouchUpproperty 
stopRecordingOnTouchUp:Boolean

Decides to stop recording on touch up events, instead of waiting for stop key. If true recording simple touch events is easier but multiple point event recording is difficult.


Implementation
    public function get stopRecordingOnTouchUp():Boolean
    public function set stopRecordingOnTouchUp(value:Boolean):void
Constructor Detail
Recorder()Constructor
public function Recorder()



Method Detail
clearAll()method
public function clearAll():void

clearCanvas()method 
public function clearCanvas():void

drawCircle()method 
public function drawCircle(e:TouchEventProxy):void

Parameters

e:TouchEventProxy

listenToStage()method 
public function listenToStage(stage:Stage):void

The stage to listen to events from

Parameters

stage:Stage

loadBinaryFile()method 
public function loadBinaryFile(byteArray:ByteArray):void

Parameters

byteArray:ByteArray

loadFile()method 
public function loadFile():void

saveToFile()method 
public function saveToFile():void

startReplaying()method 
public function startReplaying():void

stopRecording()method 
public function stopRecording():void

stopReplaying()method 
public function stopReplaying():void

togglePause()method 
public function togglePause():void

updateFrameEvents()method 
public function updateFrameEvents(frameEvents:Array):void

Parameters

frameEvents:Array