| Package | vegas.events |
| Class | public class SoundEvent |
| Inheritance | SoundEvent BasicEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
![]() | context : *
Determinates the optional context of this event. | BasicEvent | |
| soundTransform : SoundTransform [read-only]
Defines the value of the type property of a soundUpdate event object. | SoundEvent | ||
| SOUND_UPDATE : String = soundUpdate [static]
The name of the event when the localization is changed. | SoundEvent | ||
![]() | target : Object [override]
Indicates the custom event target. | BasicEvent | |
![]() | timeStamp : uint [read-only]
Indicates the timestamp of the event. | BasicEvent | |
![]() | type : String [override]
Returns the type of event. | BasicEvent | |
| Method | Defined By | ||
|---|---|---|---|
SoundEvent(type:String, target:* = null, soundTransform:SoundTransform = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)
Creates a new SoundEvent instance. | SoundEvent | ||
clone():Event [override]
Returns a shallow copy of this object. | SoundEvent | ||
![]() | dispatch(channel:String = null):void
Dispatch the event with the global event flow. | BasicEvent | |
![]() | toString():String [override]
Returns the string representation of this event. | BasicEvent | |
| SOUND_UPDATE | property |
public static var SOUND_UPDATE:String = soundUpdateThe name of the event when the localization is changed.
| soundTransform | property |
soundTransform:SoundTransform [read-only] Defines the value of the type property of a soundUpdate event object.
public function get soundTransform():SoundTransform| SoundEvent | () | Constructor |
public function SoundEvent(type:String, target:* = null, soundTransform:SoundTransform = null, context:* = null, bubbles:Boolean = false, cancelable:Boolean = false, time:Number = 0)Creates a new SoundEvent instance.
Parameterstype:String — the string type of the instance.
| |
target:* (default = null) — the target of the event.
| |
soundTransform:SoundTransform (default = null) — Indicates new values for volume and panning.
| |
context:* (default = null) — the optional context object of the event.
| |
bubbles:Boolean (default = false) — indicates if the event is a bubbling event.
| |
cancelable:Boolean (default = false) — indicates if the event is a cancelable event.
| |
time:Number (default = 0) — this optional parameter is used in the eden deserialization to copy the timestamp value of this event.
|
| clone | () | method |
override public function clone():EventReturns a shallow copy of this object.
ReturnsEvent — a shallow copy of this object.
|