Macromedia flash media server 2-client-side actionscript language reference for flash media server 2 Manuale Utente
Camera class
11
Event handler summary for the Camera class
Constructor for the Camera class
See
Camera.activityLevel
Availability
■
Flash Player 6.
■
Flash Media Server (not required).
Usage
public activityLevel : Number [read-only]
Description
Property (read-only); a numeric value that specifies the amount of motion the camera is
detecting. Values range from 0 (no motion is being detected) to 100 (a large amount of
motion is being detected). The value of this property can help you determine if you need to
pass a setting to
detecting. Values range from 0 (no motion is being detected) to 100 (a large amount of
motion is being detected). The value of this property can help you determine if you need to
pass a setting to
.
If the camera is available but is not yet being used because neither
nor
has been called, this property is set to -1.
If you are streaming only uncompressed local video—that is, you are not streaming the video
within a NetStream object and you have not called
within a NetStream object and you have not called
(true)
—this
property is set only if you have assigned a function to the
event handler.
Otherwise, it is undefined.
See also
Method
Description
Invoked when the camera starts or stops detecting motion.
Invoked when the user allows or denies access to the camera.