Packagecom.catalystapps.gaf.sound
Classpublic class GAFSoundManager
InheritanceGAFSoundManager Inheritance Object

The GAFSoundManager provides an interface to control GAF sound playback. All adjustments made through GAFSoundManager affects all GAF sounds.



Public Methods
 MethodDefined By
  
[static] The instance of the GAFSoundManager (singleton)
GAFSoundManager
  
setVolume(volume:Number):void
The volume of the GAF sounds, ranging from 0 (silent) to 1 (full volume).
GAFSoundManager
  
stopAll():void
Stops all GAF sounds currently playing
GAFSoundManager
Method Detail
getInstance()method
public static function getInstance():GAFSoundManager

The instance of the GAFSoundManager (singleton)

Returns
GAFSoundManager — The instance of the GAFSoundManager
setVolume()method 
public function setVolume(volume:Number):void

The volume of the GAF sounds, ranging from 0 (silent) to 1 (full volume).

Parameters

volume:Number — the volume of the sound

stopAll()method 
public function stopAll():void

Stops all GAF sounds currently playing