MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 388

Actionscript 2.0 language reference
Table of Contents

Advertisement

When a SWF file tries to access the camera returned by
Privacy dialog box that lets the user choose whether to allow or deny access to the camera.
(Make sure your Stage size is at least 215 x 138 pixels; this is the minimum size Flash requires
to display the dialog box.)
When the user responds to this dialog box, the
information object that indicates the user's response. To determine whether the user has
denied or allowed access to the camera without processing this event handler, use the
property.
Camera.muted
The user can also specify permanent privacy settings for a particular domain by right-clicking
(Windows) or Control-clicking (Macintosh) while a SWF file is playing, selecting Settings,
opening the Privacy panel, and selecting Remember.
You can't use ActionScript to set the Allow or Deny value for a user, but you can display the
Privacy panel for the user by using
Flash Player no longer displays the Privacy dialog box for SWF files from this domain.
If
returns
Camera.get
cameras installed on the system. To determine whether any cameras are installed, use
Camera.names.length
user choose the camera to be referenced by
Scanning the hardware for cameras takes time. When Flash finds at least one camera, the
hardware is not scanned again for the lifetime of the player instance. However, if Flash doesn't
find any cameras, it will scan each time
forgotten to connect the camera; if your SWF file provides a Try Again button that calls
, Flash can find the camera without the user having to restart the SWF file.
Camera.get
The correct syntax is
like
active_cam - Camera.get()
Availability: ActionScript 1.0; Flash Player 6
Parameters
[optional] - A zero-based integer that specifies which camera to get, as
index:Number
determined from the array returned by the
(which is recommended for most applications), omit this parameter.
388
ActionScript classes
System.showSettings(0)
, either the camera is in use by another application, or there are no
null
. To display the Flash Player Camera Settings panel, which lets the
Camera.get()
Camera.get
. To assign the
Camera.get()
.
Camera.names
Camera.get()
event handler returns an
Camera.onStatus
. If the user selects Remember,
, use
System.showSettings(3)
is called. This is helpful if a user has
object to a variable, use syntax
Camera
property. To get the default camera
, Flash Player displays a
.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF