MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING Reference page 1093

Director scripting reference
Table of Contents

Advertisement

// JavaScript syntax
var backWindow = _player.windowList[5].windowBehind;
backWindow.moveToFront();
See also
moveToBack(), moveToFront(), Window, windowInFront,
windowInFront
Usage
-- Lingo syntax
windowObjRef.windowInFront
// JavaScript syntax
windowObjRef.windowInFront;
Description
Window property; returns a reference to the window that is in front of all other windows.
Read-only.
Example
These statements set the variable
then moves that window to the back:
-- Lingo syntax
frontWindow = _player.windowList[5].windowInFront
frontWindow.moveToBack()
// JavaScript syntax
var frontWindow = _player.windowList[5].windowInFront
frontWindow.moveToBack();
See also
moveToBack(), moveToFront(), Window, windowBehind,
windowList
Usage
-- Lingo syntax
_player.windowList
// JavaScript syntax
_player.windowList;
Description
Player property; displays a list of references to all known movie windows. Read-only.
The Stage is also considered a window.
Example
This statement displays in the Message window a list of all known movie windows:
-- Lingo syntax
trace(_player.windowList)
to the window in front of all other windows, and
frontWindow
windowList
windowList
windowList 1093

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DIRECTOR MX 2004-DIRECTOR SCRIPTING and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Director mx 2004

Table of Contents