fsplayer.api.ISoundController Interface
The ISoundController Interface provides the following methods for sound control.
| Methods |
|
Method |
Description |
|
addListener(listener:ISoundListener):Void |
Adds an external object implementing ISoundListener interface which will receive sound controller notifications |
|
removeListener(listener:ISoundListener):Void |
Removes the previously added listener. The passed object will stop receiving sound controller notifications |
|
getVolume():Number |
Returns current sound volume. |
|
setVolume(volume:Number):Void |
Sets sound volume. |
|
tweak(parameterName:String, parameterValue:Object):Void |
Tweaks the implementation specific parameter of the sound controller. |
|
getTweakableParameter(parameterName:String):Object |
Returns the value of the implementation specific parameter. |
Remarks
Currently supported tweakable parameters are as follows:
|
Parameter name |
Type |
Default value |
Description |
|
blinkSounds |
Boolean |
true |
Sound blinking is a sound shutdown for a short period of time (less
than 1/100 of second) during slide switching. |
See also
IPlayer Interface
ISoundListener Interface
Flash
Presentation ActionScript API Reference