Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
VideoError

Package | mx.controls.videoClasses
Class | public class VideoError
Inheritance | VideoError 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

| Property | Defined By
--- | --- | ---
|  | code : uint [read-only] Contains the error code. | VideoError

Public Methods

| Method | Defined By
--- | --- | ---
|  | VideoError(errCode:uint, msg:String = null) Constructor. | VideoError

Public Constants

| Constant | Defined 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.

Sun Mar 5 2017, 03:42 PM +11:00