User Guide
654 Chapter 14: Properties
// JavaScript syntax
window("Animals").bgColor = color(255, 153, 0);
See also
Window
bgColor (Sprite, 3D Member)
Usage
sprite(whichSpriteNumber).bgColor
the bgColor of sprite whichSpriteNumber
the bgColor of the stage
(the stage).bgColor
member(which3dMember).bgcolor
Description
Sprite property, system property, and 3D cast member property; determines the background color
of the sprite specified by
whichSprite, the color of the Stage, or the background color of the 3D
cast member. Setting the
bgColor sprite property is equivalent to choosing the background color
from the Tools window when the sprite is selected on the Stage. Setting the
bgColor property for
the Stage is equivalent to setting the color in the Movie Properties dialog box.
The sprite property has the equivalent functionality of the
backColor sprite property, but the
color value returned is a color object of whatever type has been set for that sprite.
This property can be tested and set.
Example
This example sets the color of the Stage to an RGB value.
Dot syntax:
(the stage).bgColor = rgb(255, 153, 0)
Verbose Lingo syntax:
set the bgColor of the stage = rgb(255, 153, 0)
See also
color(), backColor, backgroundColor
bias
Usage
member(whichCastmember).model(whichModel).lod.bias
Description
3D lod modifier property; indicates how aggressively the modifier removes detail from the model
when its
auto property is set to TRUE. This property has no effect when the modifier’s auto
property is set to FALSE.
The range for this property is from 0.0 (removes all polygons) to +100.0 (removes no polygons).
The default setting is 100.0.