fsplayer.api.ISoundListener Interface

The ISoundListener interface defines the following set of methods invoked by sound controller when the corresponding events occur.

Methods

Method

Description

onSoundVolumeChanged(soundController:ISoundController):Void

This method is invoked when sound volume is changed. Use getVolume() method of the passed ISoundController interface to get new volume

In order to receive sound notifications you need to create a class which implements ISoundListener interface and pass it to the addListener() method of the ISoundController Interface.

See also

ISoundController Interface
Flash Presentation ActionScript API Reference