EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 200

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...
200 Chapter 10: Events and Messages
Example
The following handler pauses a movie when a user double-clicks the system tray icon.
-- Lingo syntax
on trayIconMouseDoubleClick
_movie.delay(500)
end
// JavaScript syntax
function trayIconMouseDoubleClick() {
_movie.delay(500);
}
See also
Movie, systemTrayIcon, trayIconMouseDown, trayIconRightMouseDown, Window
trayIconMouseDown
Usage
-- Lingo syntax
on trayIconMouseDown
statement(s)
end
// JavaScript syntax
function trayIconMouseDown() {
statement(s);
}
Description
Movie and Window event handler (Microsoft Windows only). Contains statements that run
when a user single-clicks the system tray icon.
The
trayIconMouseDown event is sent to the handler only if the systemTrayIcon property is set
to
TRUE.
Example
The following handler pauses a movie when a user clicks the mouse when the mouse is over the
system tray icon.
-- Lingo syntax
on trayIconMouseDown
_movie.delay(500)
end
// JavaScript syntax
function trayIconMouseDown() {
_movie.delay(500);
}
See also
Movie, systemTrayIcon, trayIconMouseDoubleClick, trayIconRightMouseDown,
Window

Related product manuals