
338
Chapter 16: Working with Models and Model Resources
Box properties
Boxes have a
type
property of
#box
. Box properties can be modified or animated at runtime.
resolution
Get and set
Number of polygonal segments around
the circumference of the circle. Controls
the smoothness of the cylinder’s
appearance.
An integer value
greater than 1.
height
Get and set
Height of the cylinder along the
z
-axis.
Positive floating-point
value. The default
is 50.0.
topCap
Get and set
Value indicating whether the top of the
cylinder is closed or open.
TRUE
= closed.
TRUE
or
FALSE
. The
default is
TRUE
.
bottomCap
Get and set
Value indicating whether the bottom
of the cylinder is closed or open.
TRUE
= closed.
TRUE
or
FALSE
. The
default is
TRUE
.
Property
Access
Description
Value Range
height
Get and set
Height of the box, measured along the
y
-axis.
Positive floating-point
value. The default is
50.0
.
width
Get and set
Width of the box, measured along the
x
-axis.
Positive floating-point
value. The default is
50.0
.
length
Get and set
Length of the box, measured along the
z
-axis.
Positive floating-point
value. The default is
50.0
.
top
Get and set
Value indicating whether the top of the
box is closed or open.
TRUE (1)
= closed.
TRUE (1)
or
FALSE
(0)
. The default is
TRUE (1)
.
bottom
Get and set
Value indicating whether the bottom of
the box is closed or open.
TRUE (1)
=
closed.
TRUE (1)
or
FALSE
(0)
. The default is
TRUE (1)
.
front
Get and set
Value indicating whether the front of the
box is closed or open.
TRUE (1)
= closed.
TRUE (1)
or
FALSE
(0)
. The default is
TRUE (1)
.
back
Get and set
Value indicating whether the back of the
cylinder is closed or open.
TRUE (1)
=
closed.
TRUE (1)
or
FALSE
(0)
. The default is
TRUE (1)
.
left
Get and set
Value indicating whether the left end of
the box is closed or open.
TRUE (1)
=
closed.
TRUE (1)
or
FALSE
(0)
. The default is
TRUE (1)
.
right
Get and set
Value indicating whether the right end of
the box is closed or open.
TRUE (1)
=
closed.
TRUE (1)
or
FALSE
(0)
. The default is
TRUE (1)
.
Property
Access
Description
Value Range
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...