VideoError.DELETE_DEFAULT_PLAYER

Availability

Flash Player 8.

Edition

Flash Professional 8.

Usage

mx.video.VideoError.DELETE_DEFAULT_PLAYER

Description

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.

Example

The following code checks for the DELETE_DEFAULT_PLAYER error code:

import mx.video.*;

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

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

See also

FLVPlayback.activeVideoPlayerIndex