Client-Side Communication ActionScript > Camera.motionTimeOut |
![]() ![]() ![]() |
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 1 second.
if(myCam.motionTimeOut >= 1000){
myCam.setMotionLevel(myCam.motionLevel, 1000);
}
See also
Camera.onActivity
, Camera.setMotionLevel
![]() ![]() ![]() |