Packagemx.controls.videoClasses
Classpublic class VideoError
InheritanceVideoError Inheritance Error

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

mx.controls.VideoDisplay


Public Properties
 PropertyDefined By
  code : uint
[read-only] Contains the error code.
VideoError
Public Methods
 MethodDefined By
  
VideoError(errCode:uint, msg:String = null)
Constructor.
VideoError
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
codeproperty
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_PLAYERConstant
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_POINTConstant 
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_PATHConstant 
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_SEEKConstant 
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_XMLConstant 
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_MATCHConstant 
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_CONNECTIONConstant 
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_MATCHConstant 
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.