Paquete | mx.events |
Clase | public class VideoEvent |
Herencia | VideoEvent Event Object |
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
VideoDisplay.state
property.
Elementos de API relacionados
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 | ||
playheadTime : Number
The location of the playhead of the VideoDisplay control
when the event occurs. | VideoEvent | ||
state : String
The value of the VideoDisplay.state property
when the event occurs. | VideoEvent | ||
stateResponsive : Boolean [solo lectura]
The value of the VideoDisplay.stateResponsive property
when the event occurs. | VideoEvent | ||
target : Object [solo lectura]
El destino del evento. | Event | ||
type : String [solo lectura]
El tipo de evento. | Event |
Método | Definido por | ||
---|---|---|---|
VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Constructor. | VideoEvent | ||
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 |
Constante | Definido por | ||
---|---|---|---|
BUFFERING : String = "buffering" [estática]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
CLOSE : String = "close" [estática]
The VideoEvent.CLOSE constant defines the value of the
type property of the event object for a close event. | VideoEvent | ||
COMPLETE : String = "complete" [estática]
The VideoEvent.COMPLETE constant defines the value of the
type property of the event object for a complete event. | VideoEvent | ||
CONNECTION_ERROR : String = "connectionError" [estática]
The value of the VideoDisplay.state property
when the VideoDisplay control was unable to load the video stream. | VideoEvent | ||
DISCONNECTED : String = "disconnected" [estática]
The value of the VideoDisplay.state property
when the video stream has timed out or is idle. | VideoEvent | ||
EXEC_QUEUED_CMD : String = "execQueuedCmd" [estática]
The value of the VideoDisplay.state property
during execution of queued command. | VideoEvent | ||
LOADING : String = "loading" [estática]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
PAUSED : String = "paused" [estática]
The value of the VideoDisplay.state property
when an FLV file is loaded, but play is paused. | VideoEvent | ||
PLAYHEAD_UPDATE : String = "playheadUpdate" [estática]
The VideoEvent.PLAYHEAD_UPDATE constant defines the value of the
type property of the event object for a playheadUpdate event. | VideoEvent | ||
PLAYING : String = "playing" [estática]
The value of the VideoDisplay.state property
when an FLV file is loaded and is playing. | VideoEvent | ||
READY : String = "ready" [estática]
The VideoEvent.READY constant defines the value of the
type property of the event object for a ready event. | VideoEvent | ||
RESIZING : String = "resizing" [estática]
The value of the VideoDisplay.state property
when the VideoDisplay control is resizing. | VideoEvent | ||
REWIND : String = "rewind" [estática]
The VideoEvent.REWIND constant defines the value of the
type property of the event object for a rewind event. | VideoEvent | ||
REWINDING : String = "rewinding" [estática]
The value of the VideoDisplay.state property
during an autorewind triggered
when play stops. | VideoEvent | ||
SEEKING : String = "seeking" [estática]
The value of the VideoDisplay.state property
for a seek occurring
due to the VideoDisplay.playHeadTime property being set. | VideoEvent | ||
STATE_CHANGE : String = "stateChange" [estática]
The VideoEvent.STATE_CHANGE constant defines the value of the
type property of the event object for a stateChange event. | VideoEvent | ||
STOPPED : String = "stopped" [estática]
The value of the VideoDisplay.state property
when an FLV file is loaded but play has stopped. | VideoEvent |
playheadTime | propiedad |
public var playheadTime:Number
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The location of the playhead of the VideoDisplay control when the event occurs.
state | propiedad |
public var state:String
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the event occurs.
Elementos de API relacionados
stateResponsive | propiedad |
stateResponsive:Boolean
[solo lectura] Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.stateResponsive
property
when the event occurs.
Implementación
public function get stateResponsive():Boolean
Elementos de API relacionados
VideoEvent | () | Información sobre |
public function VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
Constructor.
Parámetrostype:String — The event type; indicates the action that caused the event.
| |
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.
| |
state:String (default = null ) — The value of the VideoDisplay.state property
when the event occurs.
| |
playheadTime:Number (default = NaN ) — The location of the playhead when the event occurs.
|
BUFFERING | Constante |
public static const BUFFERING:String = "buffering"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
immediately after a call to the
play()
or load()
method.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
CLOSE | Constante |
public static const CLOSE:String = "close"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The VideoEvent.CLOSE
constant defines the value of the
type
property of the event object for a close
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
COMPLETE | Constante |
public static const COMPLETE:String = "complete"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The VideoEvent.COMPLETE
constant defines the value of the
type
property of the event object for a complete
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
CONNECTION_ERROR | Constante |
public static const CONNECTION_ERROR:String = "connectionError"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the VideoDisplay control was unable to load the video stream.
This state can occur when there is no connection to a server,
the video stream is not found, or for other reasons.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
DISCONNECTED | Constante |
public static const DISCONNECTED:String = "disconnected"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the video stream has timed out or is idle.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
EXEC_QUEUED_CMD | Constante |
public static const EXEC_QUEUED_CMD:String = "execQueuedCmd"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
during execution of queued command.
There will never be a stateChange
event dispatched for
this state; it is for internal use only.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
LOADING | Constante |
public static const LOADING:String = "loading"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
immediately after a call to the
play()
or load()
method.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
PAUSED | Constante |
public static const PAUSED:String = "paused"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when an FLV file is loaded, but play is paused.
This state is entered when you call the pause()
or load()
method.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
PLAYHEAD_UPDATE | Constante |
public static const PLAYHEAD_UPDATE:String = "playheadUpdate"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The VideoEvent.PLAYHEAD_UPDATE
constant defines the value of the
type
property of the event object for a playheadUpdate
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
PLAYING | Constante |
public static const PLAYING:String = "playing"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when an FLV file is loaded and is playing.
This state is entered when you call the play()
method.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
READY | Constante |
public static const READY:String = "ready"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The VideoEvent.READY
constant defines the value of the
type
property of the event object for a ready
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
RESIZING | Constante |
public static const RESIZING:String = "resizing"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the VideoDisplay control is resizing.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
REWIND | Constante |
public static const REWIND:String = "rewind"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The VideoEvent.REWIND
constant defines the value of the
type
property of the event object for a rewind
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
REWINDING | Constante |
public static const REWINDING:String = "rewinding"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
during an autorewind triggered
when play stops. After the rewind completes, the state changes to
STOPPED
.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
SEEKING | Constante |
public static const SEEKING:String = "seeking"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
for a seek occurring
due to the VideoDisplay.playHeadTime
property being set.
This is a unresponsive state. If the control is unresponsive, calls to the
play()
, load()
, stop()
,
and pause()
methods are queued,
and then executed when the control changes to the responsive state.
STATE_CHANGE | Constante |
public static const STATE_CHANGE:String = "stateChange"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The VideoEvent.STATE_CHANGE
constant defines the value of the
type
property of the event object for a stateChange
event.
The properties of the event object have the following values:
Property | Value |
---|---|
bubbles | false |
cancelable | false |
currentTarget | The Object that defines the
event listener that handles the event. For example, if you use
myButton.addEventListener() to register an event listener,
myButton is the value of the currentTarget . |
playheadTime | The location of the playhead when the event occurs. |
state | The value of the
VideoDisplay.state property when the event occurs. |
stateResponsive | The value of the
VideoDisplay.stateResponsive property
when the event occurs. |
target | The Object that dispatched the event;
it is not always the Object listening for the event.
Use the currentTarget property to always access the
Object listening for the event. |
STOPPED | Constante |
public static const STOPPED:String = "stopped"
Versión del lenguaje: | ActionScript 3.0 |
Versión de producto: | Flex 3 |
Versiones de motor de ejecución: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when an FLV file is loaded but play has stopped.
This state is entered when you call the stop()
method
or when the playhead reaches the end of the video stream.
This is a responsive state. In the responsive state, calls to
the play()
, load()
, stop()
,
and pause()
methods are executed immediately.
Tue Jun 12 2018, 02:12 PM Z