User Guide
670
Examples
This statement records the current setting of timeoutMouse by setting the variable named timing to
the timeoutMouse:
timing = the timeoutMouse
The following statement sets the timeoutMouse property to FALSE. The result is that the
timeoutLapsed
property keeps its current value when the mouse button is pressed.
the timeoutMouse = FALSE
See also
mouseDownScript, mouseUpScript
timeoutPlay
Syntax
the timeoutPlay
Description
System property; determines whether the timeoutLapsed property will be set to TRUE when the
movie is paused with the
pause command. When TRUE, timeouts will occur when the movie is
paused. When
FALSE, timeouts will not occur when the movie is paused. The default value is
FALSE.
This property can be tested and set.
Example
This statement sets timeoutPlay to TRUE, which tells Lingo to reset the timeoutLapsed property to 0
after a movie is played:
set the timeoutPlay to TRUE
or
the timeoutPlay = TRUE
timeoutScript
Syntax
the timeoutScript
Description
System property; determines the Lingo that Director executes as a primary event handler when a
timeout occurs. The Lingo is written as a string, surrounded by quotation marks. The default
value is
EMPTY.
To define a primary event handler for timeouts, set
timeoutScript to a string of the appropriate
Lingo: either a simple statement or a calling statement for a handler. When the assigned event
script is no longer appropriate, turn it off with the statement
set the timeoutScript to EMPTY.
This property can be tested and set.
Example
This statement sets timeoutScript to a calling script for the handler timeoutProcedure:
the timeoutScript = "timeoutProcedure"
See also
on timeOut