| Paquete | org.osmf.events |
| Clase | public class AlternativeAudioEvent |
| Herencia | AlternativeAudioEvent Event Object |
| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 1.6 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Elementos de API relacionados
Propiedades públicas
| Propiedad | Definido por | ||
|---|---|---|---|
![]() | bubbles : Boolean [solo lectura]
Indica si un evento es un evento de propagación. | Event | |
![]() | cancelable : Boolean [solo lectura]
Indica si se puede evitar el comportamiento asociado al evento. | Event | |
![]() | constructor : Object
Una referencia a la clase de objeto o función constructora para una instancia de objeto determinada. | Object | |
![]() | currentTarget : Object [solo lectura]
Objeto que procesa de forma activa el objeto de evento con un detector de eventos. | Event | |
![]() | eventPhase : uint [solo lectura]
La fase actual en el flujo del evento. | Event | |
| switching : Boolean [solo lectura]
Returns a Boolean value indicating whether an alternative audio stream switch is in progress (TRUE) or not (FALSE). | AlternativeAudioEvent | ||
![]() | target : Object [solo lectura]
El destino del evento. | Event | |
![]() | type : String [solo lectura]
El tipo de evento. | Event | |
Métodos públicos
| Método | Definido por | ||
|---|---|---|---|
AlternativeAudioEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, switching:Boolean = false)
Default Constructor. | AlternativeAudioEvent | ||
![]() |
Duplica una instancia de la subclase Event. | Event | |
![]() |
Una función de utilidad para implementar el método toString() en las clases Event personalizadas de ActionScript 3.0. | Event | |
![]() |
Indica si un objeto tiene definida una propiedad especificada. | Object | |
![]() |
Comprueba si se ha llamado a preventDefault() en el evento. | Event | |
![]() |
Indica si hay una instancia de la clase Object en la cadena de prototipo del objeto especificado como parámetro. | Object | |
![]() |
Cancela el comportamiento predeterminado de un evento si es posible cancelarlo. | Event | |
![]() |
Indica si existe la propiedad especificada y si es enumerable. | Object | |
![]() |
Establece la disponibilidad de una propiedad dinámica para operaciones de bucle. | Object | |
![]() |
Impide el proceso de cualquier detector de eventos en el nodo actual y los nodos siguientes en el flujo del evento. | Event | |
![]() |
Impide el proceso de cualquier detector de eventos en nodos siguientes al nodo actual. | Event | |
![]() |
Devuelve la representación de cadena de este objeto, con formato según las convenciones específicas de configuración regional. | Object | |
![]() |
Devuelve una cadena que contiene todas las propiedades del objeto de evento. | Event | |
![]() |
Devuelve el valor simple del objeto especificado. | Object | |
Constantes públicas
| Constante | Definido por | ||
|---|---|---|---|
| AUDIO_SWITCHING_CHANGE : String = "audioSwitchingChange" [estática]
Dispatched when the switching state of the alternative audio stream has changed. | AlternativeAudioEvent | ||
| NUM_ALTERNATIVE_AUDIO_STREAMS_CHANGE : String = "numAlternativeAudioStreamsChange" [estática]
Dispatched when the number of available alternative audio streams has changed.. | AlternativeAudioEvent | ||
Información sobre propiedades
switching | propiedad |
switching:Boolean [solo lectura] | Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 1.6 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Returns a Boolean value indicating whether an alternative audio stream switch is in progress (TRUE) or not (FALSE).
Implementación
public function get switching():BooleanInformación sobre constructores
AlternativeAudioEvent | () | Información sobre |
public function AlternativeAudioEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, switching:Boolean = false)| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 1.6 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Default Constructor.
Parámetrostype:String — Event type.
| |
bubbles:Boolean (default = false) — Specifies whether the event can bubble up the display list hierarchy.
| |
cancelable:Boolean (default = false) — Specifies whether the behavior associated with the event can be prevented.
| |
switching:Boolean (default = false) — A Boolean value indicating whether an alternative audio stream switch is in progress (TRUE) or not (FALSE).
|
Información sobre constantes
AUDIO_SWITCHING_CHANGE | Constante |
public static const AUDIO_SWITCHING_CHANGE:String = "audioSwitchingChange"| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 1.6 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Dispatched when the switching state of the alternative audio stream has changed.
Usually for any successful switching operation, two AUDIO_SWITCHING_CHANGE events
will be triggered. One when the switch operation starts ( the switching
property will be set to true ) and one when the operation ends ( the
switching property will be set to false ).
NUM_ALTERNATIVE_AUDIO_STREAMS_CHANGE | Constante |
public static const NUM_ALTERNATIVE_AUDIO_STREAMS_CHANGE:String = "numAlternativeAudioStreamsChange"| Versión del lenguaje: | ActionScript 3.0 |
| Versión de producto: | OSMF 1.6 |
| Versiones de motor de ejecución: | Flash Player 10, AIR 1.5 |
Dispatched when the number of available alternative audio streams has changed..
Tue Jun 12 2018, 02:12 PM Z
Ocultar propiedades públicas heredadas
Mostrar propiedades públicas heredadas