| Package | com.adobe.mediacore.events |
| Class | public class AudioChangeEvent |
| Inheritance | AudioChangeEvent flash.events.Event |
| Property | Defined By | ||
|---|---|---|---|
| audioPan : Number [read-only]
New pan value resulting from this change. | AudioChangeEvent | ||
| muted : Boolean [read-only]
New muted value resulting from this change. | AudioChangeEvent | ||
| volume : Number [read-only]
New volume value resulting from this change. | AudioChangeEvent | ||
| Method | Defined By | ||
|---|---|---|---|
AudioChangeEvent(type:String, bubbles:Boolean, cancelable:Boolean, muted:Boolean = false, volume:Number, pan:Number)
Constructor. | AudioChangeEvent | ||
clone():Event [override]
| AudioChangeEvent | ||
| Constant | Defined By | ||
|---|---|---|---|
| PAN_CHANGE : String = panChange [static]
The AudioChangeEvent.PAN_CHANGE constant defines the value
of the type property of the event object for a panChange
event. | AudioChangeEvent | ||
| VOLUME_CHANGE : String = volumeChange [static]
The AudioChangeEvent.VOLUME_CHANGE constant defines the value
of the type property of the event object for a volumeChange
event. | AudioChangeEvent | ||
| audioPan | property |
audioPan:Number [read-only]
New pan value resulting from this change.
public function get audioPan():Number| muted | property |
muted:Boolean [read-only]
New muted value resulting from this change.
public function get muted():Boolean| volume | property |
volume:Number [read-only]
New volume value resulting from this change.
public function get volume():Number| AudioChangeEvent | () | Constructor |
public function AudioChangeEvent(type:String, bubbles:Boolean, cancelable:Boolean, muted:Boolean = false, volume:Number, pan:Number)Constructor.
Parameterstype:String — The type of the event.
| |
bubbles:Boolean — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean — Specifies whether the behavior associated with the event can be prevented.
| |
muted:Boolean (default = false) — The value of the muted property.
| |
volume:Number (default = NaN) — The value of the volume property.
| |
pan:Number (default = NaN) — The value of the pan property.
|
| clone | () | method |
override public function clone():EventReturns
Event |
| PAN_CHANGE | Constant |
public static const PAN_CHANGE:String = panChangeThe AudioChangeEvent.PAN_CHANGE constant defines the value of the type property of the event object for a panChange event.
| VOLUME_CHANGE | Constant |
public static const VOLUME_CHANGE:String = volumeChangeThe AudioChangeEvent.VOLUME_CHANGE constant defines the value of the type property of the event object for a volumeChange event.