See also
,
function
Function.call()
Camera class
Availability
Flash Player 6.
Description
The Camera class is primarily for use with Macromedia Flash Communication Server, but can be
used in a limited fashion without the server.
The Camera class lets you capture video from a video camera attached to the computer that is
running the Macromedia Flash Player—for example, to monitor a video feed from a web camera
attached to your local system. (Flash provides similar audio capabilities; for more information, see
the
Microphone class
To create or reference a Camera object, use
Method summary for the Camera class
Method
Camera.get()
Camera.setMode()
Camera.setMotionLevel()
Camera.setQuality()
Property summary for the Camera class
Property (read-only)
Camera.activityLevel
Camera.bandwidth
Camera.currentFps
Camera.fps
Camera.height
Camera.index
Camera.motionLevel
312
Chapter 12: ActionScript Dictionary
entry.)
Camera.get()
Description
Returns a default or specified Camera object, or
not available.
Sets aspects of the camera capture mode, including height, width, and
frames per second.
Specifies how much motion is required to invoke
Camera.onActivity(true)
motion before
Camera.onActivity(false)
An integer that specifies the maximum amount of bandwidth that the
current outgoing video feed can use, in bytes per second.
Description
The amount of motion the camera is detecting.
The maximum amount of bandwidth the current outgoing video feed
can use, in bytes.
The rate at which the camera is capturing data, in frames per second.
The rate at which you would like the camera to capture data, in frames
per second.
The current capture height, in pixels.
The index of the camera, as reflected in the array returned by
.
Camera.names
The amount of motion required to invoke
.
null
and how much time should elapse without
is invoked.
Camera.onActivity(true)
if the camera is
.
Need help?
Do you have a question about the FLASH MX 2004 - ACTIONSCRIPT and is the answer not in the manual?