Flash Player 6.
my_video.attachVideo(source |null)
source A Camera object that is capturing video data. To drop the connection to the Video object, pass null for source.
Nothing.
Method; specifies a video stream (source) to be displayed within the boundaries of the Video object on the Stage. The video stream is either a Camera object or null. If source is null, video is no longer played within the Video object.
The following example plays live video locally.
my_cam = Camera.get(); my_video.attachVideo(my_cam); // my_video is a Video object on the Stage