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