View comments | RSS feed

VideoError class

Inheritance  Error > VideoError

ActionScript class name  mx.video.VideoError

The properties of the VideoError class allow you to diagnose error conditions that occur when working with the FLVPlayback component.

The mx.video.VideoError class extends the Error class.

Property summary for the VideoError class

The following table lists the properties of the VideoError class:

Property

Description

VideoError.code

A numeric error code.

VideoError.DELETE_DEFAULT_PLAYER

A number indicating an attempt to delete the default video player.

VideoError.DELETE_DEFAULT_PLAYER

A number indicating an illegal cue point.

VideoError.INVALID_CONTENT_PATH

A number indicating an invalid contentPath value.

VideoError.INVALID_SEEK

A number indicating an invalid seek.

VideoError.INVALID_XML

A number indicating that invalid XML was encountered in an XML file.

VideoError.NO_BITRATE_MATCH

A number indicating that a default FLV file that matches any bit rate could not be found.

VideoError.NO_CONNECTION

A number indicating that the method cannot connect to the server or find the FLV file on the server.

VideoError.NO_CUE_POINT_MATCH

A number indicating that no matching cue point was found.


Version 8

Comments


wpjmurray2 said on May 24, 2007 at 7:48 AM :
How is this class actually used when trying to diagnose problems with FLVPlayback? I tried loading invalid content into FLVPlayback.load('invalidcontent') and it does not throw a VideoError code.

 

RSS feed | Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/8/main/00003635.html