EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING - Page 406

MACROMEDIA DIRECTOR MX 2004-DIRECTOR SCRIPTING
1130 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
406 Chapter 12: Methods
Example
This statement moves cast member Shrine to the first empty location in the Cast window:
-- Lingo syntax
member("shrine").move()
// JavaScript syntax
member("shrine").move();
This statement moves cast member Shrine to location 20 in the Bitmaps Cast window:
-- Lingo syntax
member("shrine").move(20, "Bitmaps")
// JavaScript syntax
member("shrine").move(20, "Bitmaps");
See also
Member
moveToBack()
Usage
-- Lingo syntax
windowObjRef.moveToBack()
// JavaScript syntax
windowObjRef.moveToBack();
Description
Window method; moves a window behind all other windows.
Parameters
None.
Example
These statements move the first window in windowList behind all other windows:
-- Lingo syntax
myWindow = _player.windowList[1]
myWindow.moveToBack()
// JavaScript syntax
var myWindow = _player.windowList[1];
myWindow.moveToBack();
If you know the name of the window you want to move, use the syntax:
-- Lingo syntax
window("Demo Window").moveToBack()
// JavaScript syntax
window("Demo Window").moveToBack();
See also
moveToFront(), Window