home *** CD-ROM | disk | FTP | other *** search
- global inTime, mouseInH, mouseInV
-
- on startMovie
- set inTime to the timer + (5 * 60)
- set the keyDownScript to "loopkeyscript"
- end
-
- on loopkeyscript
- go("out")
- end
-
- on idle
- if the frame = 2 then
- if inTime < the timer then
- if (mouseInH <> the mouseH) or (mouseInV <> the mouseV) then
- go("out")
- else
- set mouseInH to the mouseH
- set mouseInV to the mouseV
- end if
- end if
- end if
- end
-