Package | fl.video |
Class | public final class VideoState |
Inheritance | VideoState Object |
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
FLVPlayback.state
and
VideoPlayer.state
properties.
Related API Elements
Constant | Defined By | ||
---|---|---|---|
BUFFERING : String = "buffering" [static]
The video player is in the buffering state. | VideoState | ||
CONNECTION_ERROR : String = "connectionError" [static]
The video player is in the connection error state. | VideoState | ||
DISCONNECTED : String = "disconnected" [static]
The video player is in the disconnected state. | VideoState | ||
LOADING : String = "loading" [static]
The video player is in the loading state. | VideoState | ||
PAUSED : String = "paused" [static]
The video player is in the paused state. | VideoState | ||
PLAYING : String = "playing" [static]
The video player is in the playing state. | VideoState | ||
RESIZING : String = "resizing" [static]
The video player is in the resizing state. | VideoState | ||
REWINDING : String = "rewinding" [static]
The video player is in the rewinding state. | VideoState | ||
SEEKING : String = "seeking" [static]
The video player is in the seeking state. | VideoState | ||
STOPPED : String = "stopped" [static]
The video player is in the stopped state. | VideoState |
BUFFERING | Constant |
public static const BUFFERING:String = "buffering"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the buffering state.
It enters this state immediately
after a call is made to the play()
or load()
method.
Use the FLVPlayback.state
property to obtain the current state of
the video player.
This is a responsive state.
Related API Elements
CONNECTION_ERROR | Constant |
public static const CONNECTION_ERROR:String = "connectionError"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the connection error state.
It enters this state when a video stream attempted to
load but was unsuccessful. There are two possible reasons for the error:
no connection to the server or the stream was not found.
Use the FLVPlayback.state
property to obtain the current
state of the video player.
This is an unresponsive state.
Related API Elements
DISCONNECTED | Constant |
public static const DISCONNECTED:String = "disconnected"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the disconnected state.
It enters this state when the stream is closed by a call
to the closeVideoPlayer()
method or timed out on idle. Use the FLVPlayback.state
property to
obtain the current state of the video player.
The FLVPlayback instance is in a disconnected state until you set the
FLVPlayback.source
property.
Related API Elements
LOADING | Constant |
public static const LOADING:String = "loading"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the loading state.
It enters this state immediately after the
play()
or load()
method is called or
after the FLVPlayback.source
property is set.
Use the FLVPlayback.state
property to obtain the current state of
the video player.
This is an unresponsive state.
Related API Elements
PAUSED | Constant |
public static const PAUSED:String = "paused"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the paused state.
It enters this state when the FLV file is loaded, but play is paused
by calling the pause()
or
load()
method.
Use the FLVPlayback.state
property to obtain the current state of the video player.
This is a responsive state.
Related API Elements
PLAYING | Constant |
public static const PLAYING:String = "playing"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the playing state.
It enters this state when the FLV file is loaded and is playing.
Use the FLVPlayback.state
property to obtain the current state of the video player.
This is a responsive state.
Related API Elements
RESIZING | Constant |
public static const RESIZING:String = "resizing"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the resizing state.
It enters this state during autolayout.
The FLVPlayback
instance never has this constant's state value,
only the VideoPlayer
instance. Use the VideoPlayer.state
property to obtain the current
state of the video player.
This is a unresponsive state.
Related API Elements
REWINDING | Constant |
public static const REWINDING:String = "rewinding"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the rewinding state.
It enters this state when the video rewinds automatically.
The video rewinds automatically after it has stopped, either
by clicking the stop button or by the video playing to the end.
After rewinding is complete, the state is stopped.
Use the FLVPlayback.state
property to obtain the current
state of the video player.
This is an unresponsive state.
Related API Elements
SEEKING | Constant |
public static const SEEKING:String = "seeking"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the seeking state.
It enters this state after the seek()
method
is called and also while the user is scrubbing with the seek bar.
Use the FLVPlayback.state
property to obtain the current
state of the video player.
This is an unresponsive state.
Related API Elements
STOPPED | Constant |
public static const STOPPED:String = "stopped"
Language Version: | ActionScript 3.0 |
Product Version: | Flash CS3 |
Runtime Versions: | Flash Player 9.0.28.0, AIR 1.0 |
The video player is in the stopped state.
It enters this state when the FLV file is loaded and
play is stopped by calling the stop()
method or when the
playhead reaches the end of the stream. Use the FLVPlayback.state
property to obtain the current state of the video player.
This is a responsive state.
Related API Elements
Wed Nov 21 2018, 06:34 AM -08:00