ActionScript 2.0 Components Language Reference |
|
|
|
| FLVPlayback Component > VideoError class > VideoError.DELETE_DEFAULT_PLAYER | |||
Flash Player 8.
Flash Professional 8.
mx.video.VideoError.DELETE_DEFAULT_PLAYER
A value of 1007, which occurs if you call the FLVPlayback.closeVideoPlayer() method to attempt to close the default video player (number 0). You cannot delete the default video player.
The following code checks for the DELETE_DEFAULT_PLAYER error code:
import mx.video.*;
try {
...
} catch (err:VideoError) {
if (err.code == DELETE_DEFAULT_PLAYER) {
...
}
}
FLVPlayback.activeVideoPlayerIndex
|
|
|
|