Chapter 19
476
Box properties
Boxes have a
type
property of
#box
. Box properties can be modified or animated at runtime.
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)
.
lengthVertic
es
Get and set
Number of vertices along the length of the box.
Increasing the number of vertices improves
lighting effects.
2
or more. The default
is
4
.
width
Vertices
Get and set
Number of vertices along the width of the box.
Increasing the number of vertices improves
lighting effects.
2
or more. The default
is
4
.
height
Vertices
Get and set
Number of vertices along the height of the box.
Increasing the number of vertices improves
lighting effects.
2
or more. The default
is
4
.
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...