Packageat.data
Classpublic class GlobalAudio
InheritanceGlobalAudio Inheritance flash.events.EventDispatcher



Public Properties
 PropertyDefined by
  isSoundEnabled : Boolean
[static][read-only] Determine if the sound is currently on or off.
GlobalAudio
Public Methods
 MethodDefined by
  
GlobalAudio(target:IEventDispatcher = null)
A singelton class that handles the global audio settings for eVE.
GlobalAudio
  
soundEnabled(value:Boolean):void
Instance function to enable/disable audio in eVE.
GlobalAudio
Public Constants
 ConstantDefined by
  instance : GlobalAudio
[static] A static instance to the GlobalAudio singelton.
GlobalAudio
Property detail
isSoundEnabledproperty
isSoundEnabled:Boolean  [read-only]

Determine if the sound is currently on or off.

Implementation
    public static function get isSoundEnabled():Boolean
Constructor detail
GlobalAudio()constructor
public function GlobalAudio(target:IEventDispatcher = null)

A singelton class that handles the global audio settings for eVE. When refering to this class please use the static methods or reference the static instance variable.

Parameters
target:IEventDispatcher (default = null)
Method detail
soundEnabled()method
public function soundEnabled(value:Boolean):void

Instance function to enable/disable audio in eVE. If your content extends the Slide class you can update your visuals when audio is muted. Simply handle the EveEvent for AUDIO_ON and AUDIO_OFF.

Parameters
value:Boolean

See also

Constant detail
instanceconstant
public static const instance:GlobalAudio

A static instance to the GlobalAudio singelton.