Client-Side Communication ActionScript > Camera.name

 

Camera.name

Availability

Flash Player 6.

Flash Communication Server MX (not required).

Usage

activeCamera.name

Description

Read-only property; a string that specifies the name of the current camera, as returned by the camera hardware.

Example

The following example displays the name of the default camera in the Output window. In Microsoft Windows, this name is the same as the device name listed in the Scanners and Cameras property sheet.

myCam = Camera.get();
trace("The camera name is: " + myCam.name);

See also

Camera.get, Camera.names