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()
Содержание FLASH MX 2004 - ACTIONSCRIPT
Страница 1: ...ActionScript Reference Guide...
Страница 8: ...8 Contents...
Страница 12: ......
Страница 24: ...24 Chapter 1 What s New in Flash MX 2004 ActionScript...
Страница 54: ...54 Chapter 2 ActionScript Basics...
Страница 80: ...80 Chapter 3 Writing and Debugging Scripts...
Страница 82: ......
Страница 110: ...110 Chapter 5 Creating Interaction with ActionScript...
Страница 112: ......
Страница 120: ...120 Chapter 6 Using the Built In Classes...
Страница 176: ......
Страница 192: ...192 Chapter 10 Working with External Data...
Страница 202: ...202 Chapter 11 Working with External Media...
Страница 204: ......
Страница 782: ...782 Chapter 12 ActionScript Dictionary...
Страница 793: ...Other keys 793 221 222 Key Key code...
Страница 794: ...794 Appendix C Keyboard Keys and Key Code Values...
Страница 798: ...798 Appendix D Writing Scripts for Earlier Versions of Flash Player...
Страница 806: ...806 Appendix E Object Oriented Programming with ActionScript 1...
Страница 816: ...816 Index...