Flash Media Server Developer Documentation

Video.width

public width : Number [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 that 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.

Availability

Flash Media Server (not required); Flash Player 6.

Example

See the examples for Video.height.