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