Adobe® Flex® 4 Language Reference
Show Packages and Classes List |  Packages  |  Classes  |  Index  |  Appendixes
mx.controls.videoClasses 
VideoError 
Packagemx.controls.videoClasses
Classpublic class VideoError
InheritanceVideoError Inheritance Error Inheritance Object

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

The VideoError class represents the error codes for errors thrown by the VideoDisplay control.

See also



Public Properties
 PropertyDefined By
  code : uint
[read-only] Contains the error code.
VideoError
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 InheritederrorID : int
[read-only] Contains the reference number associated with the specific error message.
Error
 Inheritedmessage : String
Contains the message associated with the Error object.
Error
 Inheritedname : String
Contains the name of the Error object.
Error
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined By
  
VideoError(errCode:uint, msg:String = null)
Constructor.
VideoError
 Inherited
Returns the call stack for an error as a string at the time of the error's construction (for the debugger version of Flash Player and the AIR Debug Launcher (ADL) only; returns null if not using the debugger version of Flash Player or the ADL.
Error
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
[override] Returns the string "Error" by default or the value contained in the Error.message property, if defined.
Error
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined By
  DELETE_DEFAULT_PLAYER : uint = 1007
[static] Cannot delete default VideoPlayer
VideoError
  ILLEGAL_CUE_POINT : uint = 1002
[static] Illegal cue point.
VideoError
  INVALID_CONTENT_PATH : uint = 1004
[static] Invalid content path.
VideoError
  INVALID_SEEK : uint = 1003
[static] Invalid seek.
VideoError
  INVALID_XML : uint = 1005
[static] Invalid XML.
VideoError
  NO_BITRATE_MATCH : uint = 1006
[static] No bitrate match.
VideoError
  NO_CONNECTION : uint = 1000
[static] Unable to make connection to server or to find FLV on server.
VideoError
  NO_CUE_POINT_MATCH : uint = 1001
[static] No matching cue point found.
VideoError
Property Detail

code

property
code:uint  [read-only]

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Contains the error code.



Implementation
    public function get code():uint
Constructor Detail

VideoError

()Constructor
public function VideoError(errCode:uint, msg:String = null)

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Constructor.

Parameters
errCode:uint — error code.
 
msg:String (default = null) — The error message.
Constant Detail

DELETE_DEFAULT_PLAYER

Constant
public static const DELETE_DEFAULT_PLAYER:uint = 1007

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Cannot delete default VideoPlayer

ILLEGAL_CUE_POINT

Constant 
public static const ILLEGAL_CUE_POINT:uint = 1002

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Illegal cue point.

INVALID_CONTENT_PATH

Constant 
public static const INVALID_CONTENT_PATH:uint = 1004

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Invalid content path.

INVALID_SEEK

Constant 
public static const INVALID_SEEK:uint = 1003

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Invalid seek.

INVALID_XML

Constant 
public static const INVALID_XML:uint = 1005

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Invalid XML.

NO_BITRATE_MATCH

Constant 
public static const NO_BITRATE_MATCH:uint = 1006

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

No bitrate match.

NO_CONNECTION

Constant 
public static const NO_CONNECTION:uint = 1000

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

Unable to make connection to server or to find FLV on server.

NO_CUE_POINT_MATCH

Constant 
public static const NO_CUE_POINT_MATCH:uint = 1001

Language Version: ActionScript 3.0
Product Version: Flex 3
Runtime Versions: Flash Player 9, AIR 1.1

No matching cue point found.