328 Chapter 12: ActionScript Dictionary
Camera.width
Availability
Flash Player 6.
Usage
active_cam.width
Description
Read-only property; the current capture width, in pixels. To set a desired value for this property,
use
Camera.setMode().
Example
The following line of code updates a text box in the user interface with the current width value.
myTextField.text=myCam.width;
See also the example for Camera.setMode().
See also
Camera.height
case
Availability
Flash Player 4.
Usage
case expression: statements
Parameters
expression
Any expression.
statements Any statements.
Returns
Nothing.
Description
Statement; defines a condition for the switch action. The statements in the statements
parameter execute if the expression parameter that follows the case keyword equals the
expression parameter of the switch action using strict equality (===)
If you use the
case action outside of a switch statement, it produces an error and the script
doesn’t compile.
See also
break, default, === (strict equality), switch