312
Chapter 12: ActionScript Dictionary
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
entry.)
To create or reference a Camera object, use
Camera.get()
.
Method summary for the Camera class
Property summary for the Camera class
Method
Description
Camera.get()
Returns a default or specified Camera object, or
null
if the camera is
not available.
Camera.setMode()
Sets aspects of the camera capture mode, including height, width, and
frames per second.
Camera.setMotionLevel()
Specifies how much motion is required to invoke
Camera.onActivity(true)
and how much time should elapse without
motion before
Camera.onActivity(false)
is invoked.
Camera.setQuality()
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
Camera.activityLevel
The amount of motion the camera is detecting.
Camera.bandwidth
The maximum amount of bandwidth the current outgoing video feed
can use, in bytes.
Camera.currentFps
The rate at which the camera is capturing data, in frames per second.
Camera.fps
The rate at which you would like the camera to capture data, in frames
per second.
Camera.height
The current capture height, in pixels.
Camera.index
The index of the camera, as reflected in the array returned by
Camera.names
.
Camera.motionLevel
The amount of motion required to invoke
Camera.onActivity(true)
.
Содержание 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...