User Guide

Lingo Dictionary 145
color (fog)
Syntax
member(whichCastmember).camera(whichCamera).fog.color
sprite(whichSprite).camera{(index)}.fog.color
Description
3D property; indicates the color introduced into the scene by the camera when the cameras
fog.enabled property is set to TRUE.
The default setting for this property is
rgb(0, 0, 0).
Example
This statement sets the color of the fog of the camera named BayView to rgb(255, 0, 0). If the
cameras
fog.enabled property is set to TRUE, models in the fog will take on a red hue.
member("MyYard").camera("BayView").fog.color = rgb(255, 0, 0)
See also
fog
color (light)
Syntax
member(whichCastmember).light(whichLight).color
Description
3D light property; indicates the rgb value of the light.
The default value of this property is
rgb(191,191,191).
Example
This statement sets the color of the light named RoomLight to rgb(255, 0, 255).
member("Room").light("RoomLight").color = rgb(255,0,255)
See also
fog
color (sprite and cast member property)
Syntax
sprite(whichSpriteNumber).color
the color of sprite whichSpriteNumber
member(whichMember).color
Description
Sprite and text cast member property; for sprites, determines the foreground color of the sprite
specified by
whichSprite. Setting the foreColor sprite property is equivalent to choosing the
foreground color from the Tools window when the sprite is selected on the Stage.
This property has the equivalent functionality of the
foreColor sprite property, but the color
value returned is a color object of whatever type has been set for that sprite.
For text cast members, this property determines the color of the text.