Camera.name

Availability

Flash Player 6.

Usage

active_cam.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 panel. In Windows, this name is the same as the device name listed in the Scanners and Cameras properties sheet.

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

See also

Camera.get(), Camera.names