EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 319

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Camera.motionTimeOut 319
Camera.motionLevel
Availability
Flash Player 6.
Usage
active_cam.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.onActivity, Camera.onStatus, Camera.setMotionLevel()
Camera.motionTimeOut
Availability
Flash Player 6.
Usage
active_cam.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(my_cam.motionTimeOut >= 1000){
my_cam.setMotionLevel(myCam.motionLevel, 1000);
}
See also
Camera.onActivity
, Camera.setMotionLevel()

Table of Contents

Related product manuals