Camera.activityLevel
493
Event handler summary for the Camera class
Constructor for the Camera class
See
Camera.get()
.
Camera.activityLevel
Availability
Flash Player 6.
Usage
active_cam
.activityLevel
:Number
Description
Read-only property; 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
Camera.setMotionLevel()
.
If the camera is available but is not yet being used because
Video.attachVideo()
has not been
called, this property is set to -1.
If you are streaming only uncompressed local video, this property is set only if you have assigned
a function to the
Camera.onActivity
event handler. Otherwise, it is undefined.
Camera.motionLevel
The amount of motion required to invoke
Camera.onActivity(true)
.
Camera.motionTimeOut
The number of milliseconds between the time when the camera stops
detecting motion and the time
Camera.onActivity(false)
is invoked.
Camera.muted
A Boolean value that specifies whether the user has allowed or denied
access to the camera.
Camera.name
The name of the camera as specified by the camera hardware.
Camera.names
Class property in an array of strings reflecting the names of all available
video capture devices, including video cards and cameras.
Camera.quality
An integer specifying the required level of picture quality, as determined
by the amount of compression being applied to each video frame.
Camera.width
The current capture width, in pixels.
Event handler
Description
Camera.onActivity
Invoked when the camera starts or stops detecting motion.
Camera.onStatus
Invoked when the user allows or denies access to the camera.
Property (read-only)
Description
Summary of Contents for FLEX-FLEX ACTIONSCRIPT LANGUAGE
Page 1: ...Flex ActionScript Language Reference...
Page 8: ......
Page 66: ...66 Chapter 2 Creating Custom Classes with ActionScript 2 0...
Page 76: ......
Page 133: ...break 133 See also for for in do while while switch case continue throw try catch finally...
Page 135: ...case 135 See also break default strict equality switch...
Page 146: ...146 Chapter 5 ActionScript Core Language Elements See also break continue while...
Page 808: ...808 Chapter 7 ActionScript for Flash...
Page 810: ...810 Appendix A Deprecated Flash 4 operators...
Page 815: ...Other keys 815 Num Lock 144 186 187 _ 189 191 192 219 220 221 222 Key Key code...
Page 816: ...816 Appendix B Keyboard Keys and Key Code Values...
Page 822: ...822 Index...