User Guide

backColor 649
back
Usage
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
Usage
-- Lingo syntax
spriteObjRef.backColor
// JavaScript syntax
spriteObjRef.backColor;
Description
Sprite property; sets the background color of a specified sprite according to the color value
assigned. Read/write.
Setting
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 a script sets to last beyond the current
sprite, the sprite must be a scripted sprite. The background color applies to all bitmap cast
members, in addition to field, button, check box, and radio 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 palette’s lower left corner when you click the color.)
If this property is set on bitmap cast members that are deeper than 1-bit, the
backColor may not
be seen if the background of the bitmap is not visible.
If the blend of a sprite is less than 100 but greater than 0, the
backColor will mix with the
transparent colors.
Note: It is recommended that the newer bgColor property be used instead of the backColor property.