![MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference Download Page 1092](http://html1.mh-extra.com/html/macromedia/director-mx-2004-director-scripting/director-mx-2004-director-scripting_reference_33217201092.webp)
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()
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...