mx.controls.videoClasses

# VideoError - AS3 Flex

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

Related API Elements

mx.controls.VideoDisplay

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | code : uint [read-only] Contains the error code. | VideoError
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object
|  | errorID : int [read-only] Contains the reference number associated with the specific error message. | Error
|  | message : String Contains the message associated with the Error object. | Error
|  | name : String Contains the name of the Error object. | Error

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | VideoError(errCode:uint, msg:String = null) Constructor. | VideoError
|  | getStackTrace():String Returns the call stack for an error at the time of the error's construction as a string. | Error
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String [override] Returns the string "Error" by default or the value contained in the Error.message property, if defined. | Error
|  | valueOf():Object Returns the primitive value of the specified object. | Object

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.

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00