318 Chapter 12: ActionScript Dictionary
Camera.height
Availability
Flash Player 6.
Usage
active_cam.height
Description
Read-only property; the current capture height, in pixels. To set a value for this property, use
Camera.setMode().
Example
The following line of code updates a text box in the user interface with the current height value.
my_txt._height = myCam.height;
See also the example for Camera.setMode().
See also
Camera.setMode()
, Camera.width
Camera.index
Availability
Flash Player 6.
Usage
active_cam.index
Description
Read-only property; a zero-based integer that specifies the index of the camera, as reflected in the
array returned by
Camera.names.
Example
The following example gets the camera that has the value of index.
my_cam = Camera.get(index);
See also
Camera.get()
, Camera.names