VideoError.INVALID_XML

Availability

Flash Player 8.

Edition

Flash Professional 8.

Usage

mx.video.VideoError.INVALID_XML

Description

A value of 1005, indicating invalid XML was encountered. An invalid XML error can occur when downloading and parsing a SMIL file. The VideoError.message property contains text that describes the precise problem. For more information, see Using a SMIL file.

Example

The following code checks for the INVALID_XML error code:

import mx.video.*;

try {
    ...
} catch (err:VideoError) {

if (err.code == INVALID_XML) {
        ...
    }

}

See also

FLVPlayback.contentPath