Packagecom.bourre.media
Classpublic class GlobalSoundManager

Player version: Flash Player 9.0
Language version: ActionScript 3.0

The GlobalSoundManager class.

TODO Documentation.



Protected Properties
 PropertyDefined by
  _oSTI : SoundTransformInfo
GlobalSoundManager
Public Methods
 MethodDefined by
  
GlobalSoundManager(access:ConstructorAccess)
GlobalSoundManager is a singleton that permit to change all sound of your application in same time In case of you don't use always sound and video of lowra, you can listen the GlobalSoundManagerEvent.onGlobalSoundChangeEVENT So if you want to change the volume temporarely ( a global volume slider per sample ) you can change just the gain here.
GlobalSoundManager
  
addEventListener(type:String, listener:Object, ... rest):Boolean
GlobalSoundManager
  
[static]
GlobalSoundManager
  
GlobalSoundManager
  
GlobalSoundManager
  
release():void
[static]
GlobalSoundManager
  
removeEventListener(type:String, listener:Object):Boolean
GlobalSoundManager
  
GlobalSoundManager
  
GlobalSoundManager
  
GlobalSoundManager
Protected Methods
 MethodDefined by
  
fireEvent(e:Event):void
GlobalSoundManager
Property detail
_oSTIproperty
protected var _oSTI:SoundTransformInfo

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Constructor detail
GlobalSoundManager()constructor
public function GlobalSoundManager(access:ConstructorAccess)

Player version: Flash Player 9.0
Language version: ActionScript 3.0

GlobalSoundManager is a singleton that permit to change all sound of your application in same time In case of you don't use always sound and video of lowra, you can listen the GlobalSoundManagerEvent.onGlobalSoundChangeEVENT So if you want to change the volume temporarely ( a global volume slider per sample ) you can change just the gain here. GlobalSoundManager.getInstance().setSoundTransform( new SoundTransformInfo( NaN, 0.2 , NaN )); By putting NaN you will just change the gain ( 0.2 ) , the other properties of SoundTransformInfo will still the same.

Parameters
access:ConstructorAccess
Method detail
addEventListener()method
public function addEventListener(type:String, listener:Object, ... rest):Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
type:String
 
listener:Object
 
... rest

Returns
Boolean
fireEvent()method 
protected function fireEvent(e:Event):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
e:Event
getInstance()method 
public static function getInstance():GlobalSoundManager

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns
GlobalSoundManager
getMasterSoundTransform()method 
public function getMasterSoundTransform():SoundTransformInfo

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns
SoundTransformInfo
hasMasterSoundTransform()method 
public function hasMasterSoundTransform():Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Returns
Boolean
release()method 
public static function release():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

removeEventListener()method 
public function removeEventListener(type:String, listener:Object):Boolean

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
type:String
 
listener:Object

Returns
Boolean
removeMasterSoundTransform()method 
public function removeMasterSoundTransform():void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

setMasterSoundTransform()method 
public function setMasterSoundTransform(o:SoundTransformInfo):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
o:SoundTransformInfo
setSoundTransform()method 
public function setSoundTransform(o:SoundTransformInfo):void

Player version: Flash Player 9.0
Language version: ActionScript 3.0

Parameters
o:SoundTransformInfo