ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > VideoError class > VideoError.NO_CONNECTION | |||
Flash Player 8.
Flash Professional 8.
mx.video.VideoError.NO_CONNECTION
A value of 1000, indicating the method cannot connect to the server or find the FLV file on the server.
The following code checks for the NO_CONNECTION error code:
import mx.video.*;
try {
...
} catch (err:VideoError) {
if (err.code == NO_CONNECTION) {
...
}
}
|
|
|
|