Packagecom.gestureworks.cml.utils
Classpublic class Waveform
InheritanceWaveform Inheritance flash.display.Sprite

The Waveform utility creates a graphical waveform, often used for visual representations of sound.
        var w:Waveform = new Waveform;
        w.draw();
        addChild(w);
     
     



Public Properties
 PropertyDefined By
  averageGain : Array
Waveform
  waveColor : uint
Waveform
  waveHeight : Number
Waveform
  waveWidth : Number
Waveform
Public Methods
 MethodDefined By
  
Creates a Waveform object, sets property defaults, add the waveform object to the stage
Waveform
  
Dispose():void
Frees object memory
Waveform
  
draw():void
Draws waveform
Waveform
Property Detail
averageGainproperty
averageGain:Array


Implementation
    public function get averageGain():Array
    public function set averageGain(value:Array):void
waveColorproperty 
waveColor:uint


Implementation
    public function get waveColor():uint
    public function set waveColor(value:uint):void
waveHeightproperty 
waveHeight:Number


Implementation
    public function get waveHeight():Number
    public function set waveHeight(value:Number):void
waveWidthproperty 
waveWidth:Number


Implementation
    public function get waveWidth():Number
    public function set waveWidth(value:Number):void
Constructor Detail
Waveform()Constructor
public function Waveform()

Creates a Waveform object, sets property defaults, add the waveform object to the stage

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

Frees object memory

draw()method 
public function draw():void

Draws waveform