public clear() : Void
Clears the image currently displayed in the Video object. This is useful when, for example, the connection breaks and you want to display standby information without having to hide the Video object.
Flash Communication Server 1; Flash Player 6.
The following example pauses and clears the image video1.flv that is playing in a Video object (called my_video) when the user clicks the pause_btn instance:
var pause_btn:Button;
var my_video:Video; // my_video is a Video object on the Stage.
var my_nc:NetConnection = new NetConnection();
my_nc.connect("rtmp://someServer/someApp");
var my_ns:NetStream = new NetStream(my_nc);
my_video.attachVideo(my_ns);
my_ns.play("video1");
pause_btn.onRelease = function() {
my_ns.pause();
my_video.clear();
};