appearanceOptions
637
appearanceOptions
Usage
-- Lingo syntax
windowObjRef
.appearanceOptions
// JavaScript syntax
windowObjRef
.appearanceOptions;
Description
Window property; specifies a list of properties that stores the appearance options of a window.
Read/write.
The property list contains the following properties.
These properties can also be accessed by using the Movie object’s
displayTemplate
property.
Example
This statement displays in the Message window all current appearance options for the window
named Control Panel:
-- Lingo syntax
put(window("Control Panel").appearanceOptions)
// JavaScript syntax
put(window("Control Panel").appearanceOptions);
This statement sets the border property to display a 1-pixel border around the window named
Control Panel:
-- Lingo syntax
window("Control Panel").appearanceOptions.border = #line
// JavaScript syntax
window("Control Panel").appearanceOptions.border = "line";
Property
Description
#mask
Specifies the 1-bit cast member to use as a mask for the window.
#border
Specifies the type of border for the window. This property can be one of three
values:
•
#none
. Specifies no border around the window.
•
#line
. Specifies a 1-pixel black border around the window.
The #none and #line properties are only effective if the
titlebarOptions.visible
property is set to
FALSE
.
#metal
(Macintosh only) Specifies whether the window should have a metal look (
TRUE
). If
FALSE
, the window will have an ice look.
#dragRegionMask
Specifies the 1-bit cast member to use as a mask for a region of the window.
#shadow
(Macintosh only) Specifies whether the window should have a shadow.
Macintosh windows typically have a shadow.
#liveresize
(Macintosh only) Specifies whether the window should have live resizing. If
TRUE
,
live resizing is enabled. If
FALSE
, live resizing is disabled.
Summary of Contents for DIRECTOR MX 2004-DIRECTOR SCRIPTING
Page 1: ...DIRECTOR MX 2004 Director Scripting Reference...
Page 48: ...48 Chapter 2 Director Scripting Essentials...
Page 100: ...100 Chapter 4 Debugging Scripts in Director...
Page 118: ...118 Chapter 5 Director Core Objects...
Page 594: ...594 Chapter 12 Methods...
Page 684: ...684 Chapter 14 Properties See also DVD...
Page 702: ...702 Chapter 14 Properties See also face vertices vertices flat...
Page 856: ...856 Chapter 14 Properties JavaScript syntax sprite 15 member member 3 4...
Page 1102: ...1102 Chapter 14 Properties...