bgColor (Window)
653
See also
bevelType
,
extrude3D
,
displayMode
bevelType
Usage
member(
whichTextCastmember
).bevelType
member(
which3DCastmember
).modelResource(
whichModelResource
).\
bevelType
Description
3D text property; indicates the style of beveling applied to the 3D text.
For text cast members, this is a member property. For extruded text in a 3D cast member, this is a
model resource property.
The
bevelType
property has the following possible values:
•
#none
•
#miter
(the default)
•
#round
Example
In this example, the cast member named Logo is a text cast member. This statement sets the
bevelType
of Logo to
#round
.
member("logo").beveltype = #round
In this example, the model resource of the model named Slogan is extruded text. This statement
sets the
bevelType
of Slogan’s model resource to
#miter
.
member("scene").model("Slogan").resource.bevelType = #miter
See also
bevelDepth
,
extrude3D
,
displayMode
bgColor (Window)
Usage
-- Lingo syntax
windowObjRef
.bgColor
// JavaScript syntax
windowObjRef
.bgColor;
Description
Window property; determines the background color of a window. Read/write.
Setting the
bgColor
property is equivalent to setting the color in the Movie Properties dialog box.
Example
This example sets the color of the window named Animals to an RGB value.
-- Lingo syntax
window("Animals").bgColor = color(255, 153, 0)
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...