Lingo Dictionary > O-R > on openWindow |
![]() ![]() ![]() |
on openWindow
Syntax
on openWindow
statement(s)
end
Description
System message and event handler; contains statements that run when Director opens a window and is a good place to put Lingo that you want executed every time the movie's window opens.
Example
This handler plays the sound file Hurray when the window that the movie is playing in opens:
on openWindow puppetSound 2, "Hurray" end
![]() ![]() ![]() |