A-C > Camera.width |  |

Camera.width

Camera, video, Camera.width, width

Communications/Camera/Properties/width

Availability

Flash Player 6.

Usage

    activeCamera.width

Description

Read-only property; the current capture width, in pixels. To set a desired value for this property, use the `Camera.setMode` method.

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`, `Camera.setMode`