Flash Player 6.
The Video object lets you display live streaming video on the Stage without embedding it in your SWF file. You capture the video by using Camera.get().
To display a video stream:
my_video.attachVideo(my_cam);
Note: You can also embed recorded streams (FLV files) using the File > Import or File > Import to Library command. For more information on embedding video files, see Using Flash Help.
| Method | Description |
|---|---|
| Video.attachVideo() | Specifies a video stream to be displayed within the boundaries of the Video object on the Stage. |
| Video.clear() | Clears the image currently displayed in the Video object. |
| Property | Description |
|---|---|
| Video.deblocking | Specifies the behavior for the deblocking filter that the video compressor applies as needed when streaming the video. |
Video.height |
Read-only; the height of the video stream, in pixels. |
Video.smoothing |
Specifies whether the video should be smoothed (interpolated) when it is scaled. |
Video.width |
Read-only; the width of the video stream, in pixels. |