| Package | com.acapela.vaas.advanced.events |
| Class | public class SoundEvent |
| Inheritance | SoundEvent flash.events.Event |
SoundEvent instances are dispatched by the Player and Synthesizer classes to listeners registered for SOUND_XXXXX event types.
See also
| Property | Defined by | ||
|---|---|---|---|
| sound : Sound [read-only]
the sound to this event
| SoundEvent | ||
| Constant | Defined 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 | ||
| sound | property |
sound:Sound [read-only]the sound to this event
Implementation public function get sound():Sound
| SOUND_BUFFERING | constant |
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:
| Property | Description |
|---|---|
| sound | The Sound instance corresponding to this event |
| bubbles | false |
| cancelable | false |
| target | The Player instance that generated it. |
See also
| SOUND_DOWNLOAD_ENDED | constant |
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:
| Property | Description |
|---|---|
| sound | The Sound instance corresponding to this event |
| bubbles | false |
| cancelable | false |
| target | The Synthesizer instance that generated it. |
See also
| SOUND_DOWNLOAD_STARTED | constant |
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:
| Property | Description |
|---|---|
| sound | The Sound instance corresponding to this event |
| bubbles | false |
| cancelable | false |
| target | The Synthesizer instance that generated it. |
See also
| SOUND_INFO_OBTAINED | constant |
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:
| Property | Description |
|---|---|
| sound | The Sound instance corresponding to this event |
| bubbles | false |
| cancelable | false |
| target | The Synthesizer or Player instance that generated it. |
See also
| SOUND_PLAY_ENDED | constant |
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:
| Property | Description |
|---|---|
| sound | The Sound instance corresponding to this event |
| bubbles | false |
| cancelable | false |
| target | The Player instance that generated it. |
See also
| SOUND_PLAY_STARTED | constant |
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:
| Property | Description |
|---|---|
| sound | The Sound instance corresponding to this event |
| bubbles | false |
| cancelable | false |
| target | The Player instance that generated it. |
See also