User Guide
1092 Chapter 14: Properties
Example
put member("3D").modelResource("fog bank").wind
-- vector(10.5,0,0)
window
Usage
-- Lingo syntax
_player.window[windowNameOrNum]
// JavaScript syntax
_player.window[windowNameOrNum];
Description
Player property; provides indexed or named access to the Window objects created by the Director
player. Read-only.
The
windowNameOrNum argument is either a string that specifies the name of the window to access
or an integer that specifies the index position of the window to access.
The functionality of this property is identical to the top level
window() method.
Example
This statements sets the variable named myWindow to the third window object:
-- Lingo syntax
myWindow = _player.window[3]
// JavaScript syntax
var myWindow = _player.window[3];
See also
Player, window()
windowBehind
Usage
-- Lingo syntax
windowObjRef.windowBehind
// JavaScript syntax
windowObjRef.windowBehind;
Description
Window property; returns a reference to the window that is behind all other windows. Read-only.
Example
These statements set the variable backWindow to the window behind all other windows, and then
moves that window to the front:
-- Lingo syntax
backWindow = _player.windowList[5].windowBehind
backWindow.moveToFront()