Package | km.components |
Class | public class AudioVisualizer |
Inheritance | AudioVisualizer ![]() ![]() |
Property | Defined by | ||
---|---|---|---|
allowClickChange : Boolean = true Boolean value indicating if changing the visualization by clicking the component is allowed.
| AudioVisualizer | ||
currentEffect : int The current effect.
| AudioVisualizer | ||
![]() | duotone : 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 | ||
![]() | toolTip : String Text to use as toolTip when ToolTip is enabled.
| UIComponent | |
![]() | x : Number | UIComponent | |
![]() | y : Number | UIComponent |
Method | Defined by | ||
---|---|---|---|
AudioVisualizer | |||
![]() |
move(x:int, y:int, animationMode:int = 0, animationFrames:int = 12, easeInOut:Boolean = false):void
Moves the component to the specified coordinates.
| UIComponent | |
![]() |
setProperties(o:Object):void
Sets a number of properties at once.
| UIComponent | |
![]() |
setSize(w:int, h:int):void
Sets the size width and height.
| UIComponent |
allowClickChange | property |
public var allowClickChange:Boolean = true
Boolean value indicating if changing the visualization by clicking the component is allowed.
currentEffect | property |
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
effectSpeed | property |
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
randomEffectTime | property |
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
AudioVisualizer | () | constructor |
public function AudioVisualizer()