
Controlling the appearance of a MIAW
413
Controlling the appearance of a MIAW
You can control the appearance of a MIAW by setting different appearance properties. You can do
this by using Lingo or JavaScript syntax. Some default appearance properties can also be set by
using the Display Template tab found in the Property inspector. You can set the type of window
you want—for example, a tool window—and how it will behave and act. For example, a
document window can have a titlebar, be resizable, and have a minimize and maximize box.
Because the Windows and Macintosh operating systems handle windows differently, some
window properties are only available on the Windows platform. For more information about
Lingo and JavaScript syntax, see the Scripting Reference topics in the Director Help Panel.
Window appearance properties
Window appearance properties let you customize how your MIAWs look and behave. Depending
on what you purpose the MIAW serves, different properties can help you achieve the effects you
need. You can set these properties using Lingo or JavaScript syntax. The Display Template,
available from the Property Inspector, also allows you to define some default values for a movie's
window appearance properties.
General
General properties let you set what type of MIAW you want, its title, whether it is resizable and
more. Some properties are for Windows only.
Title
lets you set the window’s title. It appears in the titlebar of the window.
Type
determines the type of window. It can be a tool, document, or dialog window type. If Tool
is selected, the window can appear with a short titlebar and a small close box. Tool windows do
not receive activate or deactivate events, because tool windows are always active. They appear on
top of document windows but layer with each other. If Document is selected, the window can
appear with a standard titlebar, a close box, and a minimize and maximize box. If Dialog is
selected, the window has a standard titlebar and a close box. Dialog windows are always on top
and are modal.
Location
determines the distance of the window from the left side and top of the screen. These
values specify pixels, and they apply only if the Stage is smaller than the current monitor’s screen
size.
Centered
places the window in the center of the monitor. This option is useful if users might play
a movie that was created for a 13-inch screen on a larger screen or if you are creating a movie on a
large screen that will be seen on smaller screens.
Resizable
determines whether the MIAW is resizable or not.
Docking
determines whether a MIAW is a dockable window when opened for authoring. For
more information, see
“About dockable MIAWs” on page 414
.
Titlebar options
Title bar properties determine what icons appear in the title bar of a window. These are accessed
as part of the
titleBarOptions
list.
Maximize Box
determines whether a maximize box appears in the title bar of a window.
Close Box
determines whether a close box appears in the window.
Summary of Contents for DIRECTOR MX 2004-USING DIRECTOR
Page 1: ...DIRECTOR MX 2004 Using Director...
Page 16: ...16 Chapter 1 Introduction...
Page 82: ...82 Chapter 3 Sprites...
Page 98: ...98 Chapter 4 Animation...
Page 134: ...134 Chapter 5 Bitmaps...
Page 242: ...242 Chapter 10 Sound and Synchronization...
Page 274: ...274 Chapter 11 Using Digital Video...
Page 290: ...290 Chapter 12 Behaviors...
Page 302: ...302 Chapter 13 Navigation and User Interaction...
Page 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Page 392: ...392 Chapter 16 Working with Models and Model Resources...
Page 418: ...418 Chapter 18 Movies in a Window...
Page 446: ...446 Chapter 22 Managing and Testing Director Projects...