EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 748

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
748 Chapter 12: ActionScript Dictionary
Video.width
Availability
Flash Player 6.
Usage
my_video.width
Description
Read-only property; an integer specifying the width of the video stream, in pixels. For live
streams, this value is the same as the
Camera.width property of the Camera object that is
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 Video.height.
void
Availability
Flash Player 5.
Usage
void (expression)
Description
Operator; a unary operator that discards the expression value and returns an undefined
value. The
void operator is often used in comparisons using the == operator to test for
undefined values.
while
Availability
Flash Player 4.
Usage
while(condition) {
statement(s);
}
Parameters
condition
The expression that is reevaluated each time the while action is executed.
statement(s) The instructions to execute while the condition evaluates to true.
Returns
Nothing.

Table of Contents

Related product manuals