User Guide
Lingo Dictionary 89
The bevelType property has the following possible values:
• #none
• #miter (the default)
• #round
Example
In this example, the cast member named Logo is a text cast member. This statement sets the
bevelType of Logo to #round.
member("logo").beveltype = #round
In this example, the model resource of the model named Slogan is extruded text. This statement
sets the
bevelType of Slogan’s model resource to #miter.
member("scene").model("Slogan").resource.bevelType = #miter
See also
bevelDepth, extrude3D, displayMode
bgColor
Syntax
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, stageColor