159
CHAPTER 10
Events and Messages
This section provides an alphabetical list of all the events and messages available in Macromedia
Director MX 2004.
on activateApplication
Usage
-- Lingo syntax
on activateApplication
statement
(
s
)
end
// JavaScript syntax
function activateApplication() {
statement
(
s
);
}
Description
Built-in handler; runs when the projector is brought to the foreground. This handler is useful
when a projector runs in a window and the user can send it to the background to work with other
applications. When the projector is brought back to the foreground, this handler runs. Any
MIAWs running in the projector can also make use of this handler.
During authoring, this handler is called only if Animate in Background is turned on in
General Preferences.
On Windows, this handler is not called if the projector is merely minimized and no other
application is brought to the foreground.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...