Packagecom.acapela.vaas.advanced.events
Classpublic class SoundEvent
InheritanceSoundEvent Inheritance flash.events.Event

The events related to the status of sound downloading and playback.

SoundEvent instances are dispatched by the Player and Synthesizer classes to listeners registered for SOUND_XXXXX event types.

See also

com.acapela.vaas.advanced.Player
com.acapela.vaas.advanced.Synthesizer


Public Properties
 PropertyDefined by
  sound : Sound
[read-only] the sound to this event
SoundEvent
Public Constants
 ConstantDefined by
  SOUND_BUFFERING : String = "soundBuffering"
[static] The SoundEvent.SOUND_BUFFERING constant defines the value of the type property of an soundBuffering event object.
SoundEvent
  SOUND_DOWNLOAD_ENDED : String = "soundDownloadEnded"
[static] The SoundEvent.SOUND_DOWNLOAD_ENDED constant defines the value of the type property of an soundDownloadEnded event object.
SoundEvent
  SOUND_DOWNLOAD_STARTED : String = "soundDownloadStarted"
[static] The SoundEvent.SOUND_DOWNLOAD_STARTED constant defines the value of the type property of an soundDownloadStarted event object.
SoundEvent
  SOUND_INFO_OBTAINED : String = "soundInfoObtained"
[static] The SoundEvent.SOUND_INFO_OBTAINED constant defines the value of the type property of an soundInfoObtained event object.
SoundEvent
  SOUND_PLAY_ENDED : String = "soundPlayEnded"
[static] The SoundEvent.SOUND_PLAY_ENDED constant defines the value of the type property of an soundPlayEnded event object.
SoundEvent
  SOUND_PLAY_STARTED : String = "soundPlayStarted"
[static] The SoundEvent.SOUND_BUFFERING constant defines the value of the type property of an soundBuffering event object.
SoundEvent
Property detail
soundproperty
sound:Sound  [read-only]

the sound to this event

Implementation
    public function get sound():Sound
Constant detail
SOUND_BUFFERINGconstant
public static const SOUND_BUFFERING:String = "soundBuffering"

The SoundEvent.SOUND_BUFFERING constant defines the value of the type property of an soundBuffering event object.

This event has the following properties:

PropertyDescription
soundThe Sound instance corresponding to this event
bubblesfalse
cancelablefalse
targetThe Player instance that generated it.

See also

SOUND_DOWNLOAD_ENDEDconstant 
public static const SOUND_DOWNLOAD_ENDED:String = "soundDownloadEnded"

The SoundEvent.SOUND_DOWNLOAD_ENDED constant defines the value of the type property of an soundDownloadEnded event object.

This event has the following properties:

PropertyDescription
soundThe Sound instance corresponding to this event
bubblesfalse
cancelablefalse
targetThe Synthesizer instance that generated it.

See also

SOUND_DOWNLOAD_STARTEDconstant 
public static const SOUND_DOWNLOAD_STARTED:String = "soundDownloadStarted"

The SoundEvent.SOUND_DOWNLOAD_STARTED constant defines the value of the type property of an soundDownloadStarted event object.

This event has the following properties:

PropertyDescription
soundThe Sound instance corresponding to this event
bubblesfalse
cancelablefalse
targetThe Synthesizer instance that generated it.

See also

SOUND_INFO_OBTAINEDconstant 
public static const SOUND_INFO_OBTAINED:String = "soundInfoObtained"

The SoundEvent.SOUND_INFO_OBTAINED constant defines the value of the type property of an soundInfoObtained event object.

This event has the following properties:

PropertyDescription
soundThe Sound instance corresponding to this event
bubblesfalse
cancelablefalse
targetThe Synthesizer or Player instance that generated it.

See also

SOUND_PLAY_ENDEDconstant 
public static const SOUND_PLAY_ENDED:String = "soundPlayEnded"

The SoundEvent.SOUND_PLAY_ENDED constant defines the value of the type property of an soundPlayEnded event object.

This event has the following properties:

PropertyDescription
soundThe Sound instance corresponding to this event
bubblesfalse
cancelablefalse
targetThe Player instance that generated it.

See also

SOUND_PLAY_STARTEDconstant 
public static const SOUND_PLAY_STARTED:String = "soundPlayStarted"

The SoundEvent.SOUND_BUFFERING constant defines the value of the type property of an soundBuffering event object.

This event has the following properties:

PropertyDescription
soundThe Sound instance corresponding to this event
bubblesfalse
cancelablefalse
targetThe Player instance that generated it.

See also