Packagekm.components
Classpublic class AudioVisualizer
InheritanceAudioVisualizer Inheritance UIComponent Inheritance flash.display.Sprite

The AudioVisualizer component class [FlashPlayer 10].



Public Properties
 PropertyDefined by
  allowClickChange : Boolean = true
Boolean value indicating if changing the visualization by clicking the component is allowed.
AudioVisualizer
  currentEffect : int
The current effect.
AudioVisualizer
 Inheritedduotone : Array
The duotone property can be used to convert the colors of the component into duotone.
UIComponent
  effectSpeed : Number
The effect speed.
AudioVisualizer
  randomEffectTime : Number
[write-only] Number of seconds between random effect changes.
AudioVisualizer
 InheritedtoolTip : String
Text to use as toolTip when ToolTip is enabled.
UIComponent
 Inheritedx : Number
UIComponent
 Inheritedy : Number
UIComponent
Public Methods
 MethodDefined by
  
AudioVisualizer
 Inherited
move(x:int, y:int, animationMode:int = 0, animationFrames:int = 12, easeInOut:Boolean = false):void
Moves the component to the specified coordinates.
UIComponent
 Inherited
setProperties(o:Object):void
Sets a number of properties at once.
UIComponent
 Inherited
setSize(w:int, h:int):void
Sets the size width and height.
UIComponent
Events
 EventSummaryDefined by
 Inherited The animationComplete event is broadcasted when an animated move is completed.UIComponent
Property detail
allowClickChangeproperty
public var allowClickChange:Boolean = true

Boolean value indicating if changing the visualization by clicking the component is allowed.

currentEffectproperty 
currentEffect:int  [read-write]

The current effect. Valid values are from 0 to 11. The default value is 10.

Implementation
    public function get currentEffect():int
    public function set currentEffect(value:int):void
effectSpeedproperty 
effectSpeed:Number  [read-write]

The effect speed. Valid values are from 0.1 to 4.0 . The default value is 1.0 .

Implementation
    public function get effectSpeed():Number
    public function set effectSpeed(value:Number):void
randomEffectTimeproperty 
randomEffectTime:Number  [write-only]

Number of seconds between random effect changes. When set to 0, random effects are turned off (default behaviour).

Implementation
    public function set randomEffectTime(value:Number):void
Constructor detail
AudioVisualizer()constructor
public function AudioVisualizer()