
Camera
383
Method summary
Methods inherited from class Object
activityLevel (Camera.activityLevel property)
public activityLevel : Number [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
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.
Availability:
ActionScript 1.0; Flash Player 6
Modifiers
Signature
Description
static
get
([index:Number])
: Camera
Returns a reference to a Camera object for capturing
video.
setMode
([width:Numbe
r], [height:Number],
[fps:Number],
[favorArea:Boolean])
: Void
Sets the camera capture mode to the native mode that
best meets the specified requirements.
setMotionLevel
([moti
onLevel:Number],
[timeOut:Number]) :
Void
Specifies how much motion is required to invoke
Camera.onActivity(true)
.
setQuality
([bandwidt
h:Number],
[quality:Number]) :
Void
Sets the maximum amount of bandwidth per second
or the required picture quality of the current outgoing
video feed.
addProperty (Object.addProperty method)
,
hasOwnProperty
(Object.hasOwnProperty method)
,
isPropertyEnumerable
(Object.isPropertyEnumerable method)
,
isPrototypeOf (Object.isPrototypeOf
method)
,
registerClass (Object.registerClass method)
,
toString
(Object.toString method)
,
unwatch (Object.unwatch method)
,
valueOf
(Object.valueOf method)
,
watch (Object.watch method)
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...