type (Window)
Usage
-- Lingo syntax
windowObjRef.type
// JavaScript syntax
windowObjRef.type;
Description
Window property; specifies the window type. Read/write.
If the
property is set, all properties pertaining to the new window are set accordingly.
type
This property can be one of the following values:
Property
Description
Specifies that the window will appear with a standard title bar, a close box, a minimize
#document
box, and a maximize box. These types of windows can be moved.
Specifies that the window will appear with a shorter title bar and only a small close box in
#tool
the upper right corner. These types of windows no longer receive activate or deactivate
events, because
later with each other, and will always appear on top of
#dialog
Specifies that the window will appear with a standard title bar, a close box, and no icon.
These types of windows are modal, and will always appear on top of all other windows.
These properties can also be accessed by using the Movie object's
Window behaviors also depend on the values of the
dockingEnabled
•
If
dockingEnabled
document window in Director. The window will appear in the "view port" area and be
dockable with the Stage, Score, and Cast windows, media editors, and message windows.
However, the window will not be able to group with any of these windows.
•
If
dockingEnabled
window in Director. The window will be able to group with all tool windows except the
Property inspector and the Tool palette.
•
If
dockingEnabled
and the window will be an authoring window.
Example
This statement sets the type of the window named
-- Lingo syntax
window("Planets").type = #tool
// JavaScript syntax
window("Planets").type = "tool";
See also
appearanceOptions, displayTemplate, dockingEnabled, titlebarOptions,
1068
Chapter 14: Properties
windows are always active. These types of windows will always
#tool
property
is
and
TRUE
type
is
and
TRUE
type
is
and
TRUE
type
property and the Movie object's
type
is set to
, the MIAW will look and act like a
#document
is set to
, the MIAW will look and act like a tool
#tool
is set to
#fullscreen
to
Planets
windows.
#document
property.
displayTemplate
or
, the type is ignored
#dialog
.
#tool
Window
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