Flash Player 6.
my_video.height
Read-only property; an integer specifying the height of the video stream, in pixels. This value is the same as the Camera.height
property of the Camera object that is capturing 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.
The following example lets the user press a button to set the height and width of a video stream being displayed in the Flash Player to be the same as the height and width at which the video stream was captured.
// First attach the stream to the Video object my_video.attachVideo(videoSource); // Then attach code like the following to a button on (release) { _root.my_video._width = _root.my_video.width _root.my_video._height = _root.my_video.height }