Client-Side Communication ActionScript > Camera.width |
Camera.width
Availability
Flash Player 6. |
|
Flash Communication Server MX (not required). |
Usage
activeCamera.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