User Guide

Lingo Dictionary 83
back
Syntax
member(whichCastmember).modelResource(whichModelResource).back
Description
3D #box model resource property; indicates whether the side of the box intersected by its +Z axis
is sealed (TRUE) or open (FALSE).
The default value for this property is
TRUE.
Example
This statement sets the back property of the model resource named Crate to FALSE, meaning the
back of this box will be open.
member("3D World").modelResource("Crate").back = FALSE
See also
bottom (3D), front, top (3D), left (3D), right (3D)
backColor
Syntax
member(whichCastMember).backColor = colorNumber
set the backColor of member whichCastMember to colorNumber
sprite(whichSprite).backColor
the backColor of sprite whichSprite
Description
Cast member and sprite property; sets the background color of the specified cast member or sprite
according to the color value assigned.
For cast members: it affects field or button cast member displays.
For sprites: setting the backColor of a sprite is the same as choosing the background color
from the tool palette when the sprite is selected on the Stage. For the value that Lingo sets to
last beyond the current sprite, the sprite must be a puppet. The background color applies only
to 1-bit bitmap and shape cast members.
The
backColor value ranges from 0 to 255 for 8-bit color and from 0 to 15 for 4-bit color. The
numbers correspond to the index number of the background color in the current palette. (A
color’s index number appears in the color palettes lower left corner when you click the color.)
You should not apply this property to bitmap cast members deeper than 1-bit, as the results are
difficult to predict.
For a movie that plays back as an applet created with the Save as Java feature of Director, specify
colors for
backColor using the decimal equivalent of the 24-bit hexadecimal values used in an
HTML document.
For example, the hexadecimal value for pure red, FF0000, is equivalent to 16711680 in decimal
numbers. This statement specifies pure red as a cast members background color:
set the backColor of member = 16711680
This property can be tested and set.
Note: It is recommended that the newer bgColor property be used instead of the backColor property.