
Client-Side Communication ActionScript 17
Camera.motionLevel
Availability
• Flash Player 6.
• Flash Communication Server MX (not required).
Usage
activeCamera.motionLevel
Description
Read-only property; a numeric value that specifies the amount of motion required to invoke
Camera.onActivity(true). Acceptable values range from 0 to 100. The default value is 50.
Video can be displayed regardless of the value of the
motionLevel property. For more
information, see
Camera.setMotionLevel.
See also
Camera.activityLevel, Camera.onStatus, Camera.setMotionLevel
Camera.motionTimeOut
Availability
• Flash Player 6.
• Flash Communication Server MX (not required).
Usage
activeCamera.motionTimeOut
Description
Read-only property; the number of milliseconds between the time the camera stops detecting
motion and the time
Camera.onActivity(false) is invoked. The default value is 2000
(2 seconds).
To set this value, use
Camera.setMotionLevel.
Example
The following example sets the number of milliseconds between the time the camera stops
detecting motion and the time Camera.onActivity(false) is invoked to 1000 milliseconds,
or one second.
if(myCam.motionTimeOut >= 1000){
myCam.setMotionLevel(myCam.motionLevel, 1000);
}
See also
Camera.onActivity, Camera.setMotionLevel
Commenti su questo manuale