Pakket | mx.events |
Klasse | public class VideoEvent |
Overerving | VideoEvent Event Object |
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
VideoDisplay.state
property.
Verwante API-elementen
Eigenschap | Gedefinieerd door | ||
---|---|---|---|
bubbles : Boolean [alleen-lezen]
Geeft aan of een gebeurtenis een terugkoppelgebeurtenis is. | Event | ||
cancelable : Boolean [alleen-lezen]
Geeft aan of het gedrag dat aan deze gebeurtenis is gekoppeld, kan worden voorkomen. | Event | ||
constructor : Object
Verwijzing naar het klasseobject of de constructorfunctie van een bepaalde objectinstantie. | Object | ||
currentTarget : Object [alleen-lezen]
Het object dat het gebeurtenisobject actief verwerkt met een gebeurtenislistener. | Event | ||
eventPhase : uint [alleen-lezen]
De huidige fase in de gebeurtenisstroom. | 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 [alleen-lezen]
The value of the VideoDisplay.stateResponsive property
when the event occurs. | VideoEvent | ||
target : Object [alleen-lezen]
Doel van gebeurtenis. | Event | ||
type : String [alleen-lezen]
Het type gebeurtenis. | Event |
Methode | Gedefinieerd door | ||
---|---|---|---|
VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Constructor. | VideoEvent | ||
Dupliceert een instantie van een subklasse Event. | Event | ||
Een hulpprogrammafunctie voor de implementatie van de methode toString() in aangepaste ActionScript 3.0-Event-klassen. | Event | ||
Geeft aan of voor een object een opgegeven eigenschap is gedefinieerd. | Object | ||
Controleert of de methode preventDefault() is aangeroepen voor de gebeurtenis. | Event | ||
Geeft aan of een instantie van de klasse Object zich in de prototypeketen van het object bevindt dat als parameter is opgegeven. | Object | ||
Annuleert het standaardgedrag van een gebeurtenis wanneer dat gedrag kan worden geannuleerd. | Event | ||
Geeft aan of de opgegeven eigenschap bestaat en kan worden opgesomd. | Object | ||
Stelt de beschikbaarheid van een dynamische eigenschap voor lusbewerkingen in. | Object | ||
Voorkomt het verwerken van gebeurtenislisteners in het huidige knooppunt en volgende knooppunten in de gebeurtenisstroom. | Event | ||
Voorkomt het verwerken van gebeurtenislisteners in knooppunten die volgen op het huidige knooppunt in de gebeurtenisstroom. | Event | ||
Geeft de tekenreeksweergave van dit object weer, geformatteerd volgens de locatiespecifieke conventies. | Object | ||
Retourneert een tekenreeks die alle eigenschappen van het Event-object bevat. | Event | ||
Retourneert de primitieve waarde van het opgegeven object. | Object |
Constante | Gedefinieerd door | ||
---|---|---|---|
BUFFERING : String = "buffering" [statisch]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
CLOSE : String = "close" [statisch]
The VideoEvent.CLOSE constant defines the value of the
type property of the event object for a close event. | VideoEvent | ||
COMPLETE : String = "complete" [statisch]
The VideoEvent.COMPLETE constant defines the value of the
type property of the event object for a complete event. | VideoEvent | ||
CONNECTION_ERROR : String = "connectionError" [statisch]
The value of the VideoDisplay.state property
when the VideoDisplay control was unable to load the video stream. | VideoEvent | ||
DISCONNECTED : String = "disconnected" [statisch]
The value of the VideoDisplay.state property
when the video stream has timed out or is idle. | VideoEvent | ||
EXEC_QUEUED_CMD : String = "execQueuedCmd" [statisch]
The value of the VideoDisplay.state property
during execution of queued command. | VideoEvent | ||
LOADING : String = "loading" [statisch]
The value of the VideoDisplay.state property
immediately after a call to the
play() or load() method. | VideoEvent | ||
PAUSED : String = "paused" [statisch]
The value of the VideoDisplay.state property
when an FLV file is loaded, but play is paused. | VideoEvent | ||
PLAYHEAD_UPDATE : String = "playheadUpdate" [statisch]
The VideoEvent.PLAYHEAD_UPDATE constant defines the value of the
type property of the event object for a playheadUpdate event. | VideoEvent | ||
PLAYING : String = "playing" [statisch]
The value of the VideoDisplay.state property
when an FLV file is loaded and is playing. | VideoEvent | ||
READY : String = "ready" [statisch]
The VideoEvent.READY constant defines the value of the
type property of the event object for a ready event. | VideoEvent | ||
RESIZING : String = "resizing" [statisch]
The value of the VideoDisplay.state property
when the VideoDisplay control is resizing. | VideoEvent | ||
REWIND : String = "rewind" [statisch]
The VideoEvent.REWIND constant defines the value of the
type property of the event object for a rewind event. | VideoEvent | ||
REWINDING : String = "rewinding" [statisch]
The value of the VideoDisplay.state property
during an autorewind triggered
when play stops. | VideoEvent | ||
SEEKING : String = "seeking" [statisch]
The value of the VideoDisplay.state property
for a seek occurring
due to the VideoDisplay.playHeadTime property being set. | VideoEvent | ||
STATE_CHANGE : String = "stateChange" [statisch]
The VideoEvent.STATE_CHANGE constant defines the value of the
type property of the event object for a stateChange event. | VideoEvent | ||
STOPPED : String = "stopped" [statisch]
The value of the VideoDisplay.state property
when an FLV file is loaded but play has stopped. | VideoEvent |
playheadTime | eigenschap |
public var playheadTime:Number
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The location of the playhead of the VideoDisplay control when the event occurs.
state | eigenschap |
public var state:String
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
The value of the VideoDisplay.state
property
when the event occurs.
Verwante API-elementen
stateResponsive | eigenschap |
VideoEvent | () | Constructor |
public function VideoEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false, state:String = null, playheadTime:Number = NaN)
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | Flash Player 9, AIR 1.1 |
Constructor.
Parameterstype: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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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"
Taalversie: | ActionScript 3.0 |
Productversie: | Flex 3 |
Runtimeversies: | 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.
Wed Jun 13 2018, 11:42 AM Z