320 Chapter 12: ActionScript Dictionary
Camera.muted
Availability
Flash Player 6.
Usage
active_cam.muted
Description
Read-only property; a Boolean value that specifies whether the user has denied access to the
camera (
true) or allowed access (false) in the Flash Player Privacy Settings panel. When this
value changes,
Camera.onStatus is invoked. For more information, see Camera.get().
See also
Camera.get()
, Camera.onStatus
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