-- Lingo syntax window(stringWindowName) // JavaScript syntax window(stringWindowName);
Top level function; returns a reference to a specified window.
The specified window must contain a Director movie.
Windows that play movies are useful for creating floating palettes, separate control panels, and windows of different shapes. Using windows that play movies, you can have several movies open at once and allow them to interact.
stringWindowName Required. A string that specifies the name of the window to reference.
This statement sets the variable myWindow to the window named Collections:
-- Lingo syntax
myWindow = window("Collections")
// JavaScript syntax
var myWindow = window("Collections");