Camera.activityLevel
313
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
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.
See also
Camera.motionLevel
,
Camera.setMotionLevel()
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; 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
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...