on timeOut
Usage
-- Lingo syntax
on timeOut
statement(s)
end
// JavaScript syntax
function timeOut() {
statement(s);
}
Description
System message and event handler; contains statements that run when the keyboard or mouse is
not used for the time period specified in
in a movie script.
To have a timeout produce the same response throughout a movie, use
centrally control timeout behavior.
Example
The following handler plays the movie Attract Loop after users do nothing for the time set in the
timeoutLength
-- Lingo syntax
on timeOut
_movie.play("Attract Loop")
end timeOut
// JavaScript syntax
function timeOut() {
_movie.play("Attract Loop");
}
trayIconMouseDoubleClick
Usage
-- Lingo syntax
on trayIconMouseDoubleClick
statement(s)
end
// JavaScript syntax
function trayIconMouseDoubleClick() {
statement(s);
}
Description
Movie and Window event handler (Microsoft Windows only). Contains statements that run
when a user double-clicks the system tray icon.
The
trayIconMouseDoubleClick
property is set to
property. It can be used to respond when users leave the computer.
event is sent to the handler only if the
.
TRUE
Always place an
timeOutLength.
on timeOut
the timeoutScript
systemTrayIcon
trayIconMouseDoubleClick
handler
to
199
Need help?
Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?
Questions and answers