ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > VideoError class > VideoError.INVALID_XML | |||
Flash Player 8.
Flash Professional 8.
mx.video.VideoError.INVALID_XML
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.
The following code checks for the INVALID_XML error code:
import mx.video.*;
try {
...
} catch (err:VideoError) {
if (err.code == INVALID_XML) {
...
}
}
|
|
|
|