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 movies from this domain.
If
returns
Camera.get
cameras installed on the system. To determine whether any cameras are installed, use
Camera.names.length
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
Example
The following example captures and displays video locally within a Video object named
on the Stage.
my_video
var my_cam = Camera.get();
my_video.attachVideo(myCam);
See also
,
Camera.index
Camera.muted
System.showSettings(),
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 user
Camera.get()
Camera.get
,
Camera.names
Video.attachVideo()
. If the user selects Remember,
, use
System.showSettings(3)
is called. This is helpful if a user has
,
,
Camera.onStatus
Camera.setMode()
.
,
Camera.get()
317
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?