Lingo Dictionary > S > stageColor |
![]() ![]() ![]() |
stageColor
Syntax
the stageColor
Description
System property; determines the color of the movie background for index color only.
Use bgColor
for more accurate, reliable, and flexible stage color specification with RGB values.
The value of the stageColor
property ranges from 0 to 255 for 8-bit index color, and from 0 to 15 for 4-bit color. You can click a color in the color palette to see that color's index number in the lower left corner of the window. Setting the stageColor
property in a Lingo script is equivalent to choosing the Stage color from the pop-up palette in the panel window.
Note: For compatibility when playing back as a Java applet, use the bgColor property to define the color as an RGB value.
Example
This statement sets the variable oldColor
to the index number of the current Stage color:
oldColor = the stageColor
Example
This statement sets the Stage color to the color assigned to chip 249 on the current palette:
the stageColor = 249
See also
backColor
, bgColor
, foreColor, color()
![]() ![]() ![]() |