EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 199

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 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...
trayIconMouseDoubleClick 199
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
timeOutLength. Always place an on timeOut handler
in a movie script.
To have a timeout produce the same response throughout a movie, use
the timeoutScript to
centrally control timeout behavior.
Example
The following handler plays the movie Attract Loop after users do nothing for the time set in the
timeoutLength property. It can be used to respond when users leave the computer.
-- 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 event is sent to the handler only if the systemTrayIcon
property is set to TRUE.

Related product manuals