User Guide
Lingo Dictionary 177
on deactivateWindow
Syntax
on deactivateWindow
statement(s)
end
Description
System message and event handler; contains statements that run when the window that the movie
is playing in is deactivated. The on deactivate event handler is a good place for Lingo that you
want executed whenever a window is deactivated.
Example
This handler plays the sound Snore when the window that the movie is playing in is deactivated:
on deactivateWindow
puppetSound 2, "Snore"
end
debug
Syntax
member(whichCastmember).model(whichModel).debug
Description
3D model property; indicates whether the bounding sphere and local axes of the model are displayed.
Example
This statement sets the debug property of the model Dog to TRUE.
member("ParkScene").model("Dog").debug = TRUE
See also
boundingSphere
debugPlaybackEnabled
Syntax
the debugPlaybackEnabled
Description
Property; in Windows, opens a Message window for debugging purposes in Shockwave and
projectors. It does not have any effect when used in the Director application. Once the Message
window is closed, it cannot be reopened for a particular Shockwave or projector session. If more
than one Shockwave movie uses this Lingo in a single browser, only the first will open a Message
window, and the Message window will be tied to the first movie alone.
On the Macintosh, rather than a Message window being opened, a log file is generated to allow
Lingo
put statements to output data for debugging purposes. This file is located in the
Shockwave folder at HardDrive/System Folder/Extensions/Macromedia/Shockwave.
To open this Message window, set the
debugPlaybackEnabled property to TRUE. To close the
window, set the
debugPlaybackEnabled property to FALSE.