![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 6.
active_cam
.motionTimeOut
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()
.
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(my_cam.motionTimeOut >= 1000){
my_cam.setMotionLevel(myCam.motionLevel, 1000);
}
Camera.onActivity
, Camera.setMotionLevel()
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |