User Guide

Video class 147
Video.width
Availability
Flash Player 6.
Flash Media Server (not required).
Usage
public width : Number [read-only]
Description
Property (read-only); an integer specifying the width of the video stream, in pixels. This value
is the same as the
Camera.width property of the Camera object that is capturing (or
previously captured) the video stream.
You may want to use this property, for example, to ensure that the user is seeing the video at
the same size at which it was captured, regardless of the actual size of the Video object on the
Stage.
Example
See the examples for Video.height.