![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.
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 Playerfor 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 entry.)
To create or reference a Camera object, use Camera.get()
.
Method |
Description |
---|---|
Returns a default or specified Camera object, or |
|
Sets aspects of the camera capture mode, including height, width, and frames per second. |
|
Specifies how much motion is required to invoke |
|
An integer that specifies the maximum amount of bandwidth that the current outgoing video feed can use, in bytes per second. |
Property (read-only) |
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 |
|
The amount of motion required to invoke |
|
The number of milliseconds between the time when the camera stops detecting motion and the time |
|
A Boolean value that specifies whether the user has allowed or denied access to the camera. |
|
The name of the camera as specified by the camera hardware. |
|
Class property; an array of strings reflecting the names of all available video capture devices, including video cards and cameras. |
|
An integer specifying the required level of picture quality, as determined by the amount of compression being applied to each video frame. |
|
The current capture width, in pixels. |
Event handler |
Description |
---|---|
Invoked when the camera starts or stops detecting motion. |
|
Invoked when the user allows or denies access to the camera. |
See Camera.get()
.
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |