A-C > Camera.motionTimeOut |
![]() ![]() ![]() |
Camera.motionTimeOut
Camera, video, Camera.motionTimeOut, motionTimeOut
Communications/Camera/Properties/motionTimeOut
Availability
Flash Player 6.
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
![]() ![]() ![]() |