MACROMEDIA FLEX-FLEX ACTIONSCRIPT LANGUAGE Reference page 807

Actionscript language reference
Table of Contents

Advertisement

};
smoothing_btn.onRelease = function() {
my_video.smoothing = !my_video.smoothing;
updateSmoothing();
};
function updateSmoothing():Void {
smoothing_txt.text = "smoothing = "+my_video.smoothing;
}
Video.width
Availability
Flash Player 6.
Usage
my_video.width:Number
Description
Property (read-only); an integer specifying the width of the video stream, in pixels. For live
streams, this value is the same as the
capturing the video stream. For FLV files, this value is the width of the file that was exported as an
FLV file.
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
Camera.width
.
Video.height
property of the Camera object that is
Video.width
807

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLEX-FLEX ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flex

Table of Contents