Packageefnx.events
Classpublic class WaveformEvent
InheritanceWaveformEvent Inheritance flash.events.Event

WaveformEvent is the event class dispatched by the Waveform class.



Public Properties
 PropertyDefined by
  leftChunk : Vector
The left channel values of analyzed windows since the last WaveformEvent.
WaveformEvent
  rightChunk : Vector
The right channel values of analyzed windows since the last WaveformEvent.
WaveformEvent
  windowsAnalyzed : uint = 0
The number of windowsAnalyzed thus far.
WaveformEvent
  windowsTotal : uint = 0
The number of windows total to be analyzed.
WaveformEvent
Public Methods
 MethodDefined by
  
WaveformEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false)
Creates a WaveformEvent object.
WaveformEvent
  
clone():Event
WaveformEvent
Public Constants
 ConstantDefined by
  COMPLETE : String = "complete"
[static] Defines the value of the type property of a complete event object.
WaveformEvent
  PROGRESS : String = "progress"
[static] Defines the value of the type property of a progress event object.
WaveformEvent
Property detail
leftChunkproperty
public var leftChunk:Vector

The left channel values of analyzed windows since the last WaveformEvent.

rightChunkproperty 
public var rightChunk:Vector

The right channel values of analyzed windows since the last WaveformEvent.

windowsAnalyzedproperty 
public var windowsAnalyzed:uint = 0

The number of windowsAnalyzed thus far.

windowsTotalproperty 
public var windowsTotal:uint = 0

The number of windows total to be analyzed.

Constructor detail
WaveformEvent()constructor
public function WaveformEvent(type:String, bubbles:Boolean = true, cancelable:Boolean = false)

Creates a WaveformEvent object.

Parameters
type:String — The type of WaveformEvent, either "complete" or "progress."
 
bubbles:Boolean (default = true)
 
cancelable:Boolean (default = false)
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
COMPLETEconstant
public static const COMPLETE:String = "complete"

Defines the value of the type property of a complete event object.

PROGRESSconstant 
public static const PROGRESS:String = "progress"

Defines the value of the type property of a progress event object.