| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
The VideoError exception is the primary mechanism for reporting runtime errors from the
FLVPlayback and VideoPlayer classes.
code:uint [read-only]
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
The code that corresponds to the error. The error code is passed into the constructor.
Implementation
public function get code():uint
public function VideoError(errCode:uint, msg:String = null)
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
Creates a new VideoError object.
Parameters
| errCode:uint — The code that corresponds to the error.
|
| |
| msg:String (default = null) — The error message.
|
public static const DELETE_DEFAULT_PLAYER:uint = 1007
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating that the user cannot delete the default VideoPlayer object.
public static const ILLEGAL_CUE_POINT:uint = 1002
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating the illegal cue point.
public static const INCMANAGER_CLASS_UNSET:uint = 1008
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating that the INCManager class is not set.
public static const INVALID_SEEK:uint = 1003
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating an invalid seek.
public static const INVALID_SOURCE:uint = 1004
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating an invalid source.
public static const INVALID_XML:uint = 1005
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating invalid XML.
public static const MISSING_SKIN_STYLE:uint = 1010
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating a missing skin style.
public static const NETSTREAM_CLIENT_CLASS_UNSET:uint = 1012
| Language Version : | ActionScript 3.0 |
An error that occurs when the VideoPlayer.netStatusClientClass
static property is set to an invalid value.
This includes cases where it is a string and the class cannot be found
and where the class does not have a constructor that takes an instance of VideoPlayer as a parameter.
A sample error message can be seen with the following code:
// Place the FLVPlayback component on the Stage at 0,0 and provide the instance name myflvPlayback.
import fl.video.
VideoPlayer.netStreamClientClass = null;
try {
myflvPlayback.play('test.flv');
} catch (e:VideoError) {
if (e.code =VideoError.NETSTREAM_CLIENT_CLASS_UNSET) {
trace('I forced this error on purpose');
}
}
Player Version: Flash Player 9 Update 3.
public static const NO_BITRATE_MATCH:uint = 1006
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating that there is no bitrate match.
public static const NO_CONNECTION:uint = 1000
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating that Flash Player is unable to make a connection to the server
or to find the FLV file on the server.
public static const NULL_URL_LOAD:uint = 1009
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating that a null URL was sent to the
load() method.
public static const SHORT_VERSION:String = "2.1"
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating the short version number of the component.
The version number is useful when you have a FLA file and need to know the component version.
To determine the component version, type the following code trace into the FLA file:
FLVPlayback.SHORT_VERSION
The SHORT_VERSION variable includes only the major
and minor version numbers, for example, 2.0. The VERSION variable includes
the major and minor version numbers as well as the revision and build numbers,
for example, 2.0.0.11.
See also
public static const UNSUPPORTED_PROPERTY:uint = 1011
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating that an unsupported property was passed to the
INCManager class, or the getProperty or setProperty
methods.
See also
public static const VERSION:String = "2.1.0.14"
| Language Version : | ActionScript 3.0 |
| Player Version : | Flash Player 9.0.28.0 |
State variable indicating the long version number of the component.
The version number is useful when you have a FLA file and need to know the component version.
To determine the component version, type the following code trace into the FLA file:
The VERSION variable includes
the major and minor version numbers as well as the revision and build numbers,
for example, 2.0.0.11. The SHORT_VERSION variable includes only the major
and minor version numbers, for example, 2.0.
See also
© 2004-2007 Adobe Systems Incorporated. All rights reserved.
Mon Nov 19 2007, 10:27 AM GMT-08:00