
414
Chapter 18: Movies in a Window
Minimize Box
determines if a minimize box appears in the title bar. For example:
window("window_name").titlebarOptions.maximizebox = true
Visible
determines whether the title bar of a window is visible. When you set this property to
false, the other options (Maximize Box, Close Box, and so forth) remain untouched. The next
time the window’s title bar is visible, all other title bar properties are maintained. In other words,
it lets you override or keep changes made to these properties.
Icon
lets you determine the icon that appears in the title bar of a MIAW. You must select a cast
member to act as the icon.
Side Titlebar
(Macintosh only property) determines whether or not the title bar appears on the
top or the left side of the window.
Appearance options
Appearance properties let you determine how a window looks. For example, if you are designing a
window that appears in a Macintosh application, you can set the appearance to mimic a typical
Macintosh window. These properties are accessed as part of the
appearanceOptions
list.
Drop Shadow
(Mac only) lets you determine if there is a shadow around the window. Most Mac
windows have it turned on.
Metal
(Mac only) lets you specify whether a window will have a metal or ice appearance.
Mask
lets you assign a bitmap cast member as a mask for the window. For example:
window("window_name").appearanceOptions.mask = member("my mask")
Drag Mask
lets you use a bitmap cast member as a mask to determine which areas of the window
a user can click on to move the window. You can use this to create your own custom
nonrectangular title bars or to make the entire window draggable if you wish.
Border
lets you set the type of border a window should use. None indicates a borderless window,
and line specifies a 1-pixel black border. However, to create a borderless window, you will also
need to set both “resizable” and “titlebarOptions.visible” to false, as follows:
window("win").resizable = false
window("win").titlebarOptions.visible = false
window("win").appearanceOptions.border = false
Live Resize
(Macintosh only property) determines whether or not the window contents and the
size of the window will update while the user is dragging to resize the window.
About dockable MIAWs
Tool and document MIAWs can now be dockable in authoring. To make a MIAW dockable, set
the
dockingEnabled
property to
TRUE
. Setting the type determines what the MIAW can dock
with. For example, dockable tool MIAWs can dock to each other, to other tool windows such as
the Property inspector, and can be docked to the side channels. They can also be grouped with
other tool windows. Dockable document MIAWs can dock to each other and to other document
windows such as the Stage, Score, and Cast windows, and all Media Editors.
•
To dock a MIAW, click and drag it to a compatible window by the header bar.
•
To group a MIAW, click on the Panel menu on the right side of the header bar and select a
Panel group.
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...