Chapter 3
146
This property can be tested and set. The color property should be set to an RGB or hexidecimal
value.
Examples
This statement sets the color of the text of cast member 3 to a medium red:
member(3).color = rgb(255, 0, 100)
This statement sets the color of the text of cast member 3 to a medium blue:
member(3).color = rgb("0033FF")
See also
color()
,
bgColor
,
foreColor
colorBufferDepth
Syntax
getRendererServices().colorBufferDepth
Description
3D
rendererServices
property; indicates the color precision of the hardware output buffer of
the user’s system. The value is either 16 or 32, depending on the user’s hardware settings.
This property can be tested but not set.
Example
This statement shows that the
colorBufferDepth
value of the user’s video card is 32.
put getRendererServices().colorBufferDepth
-- 32
See also
getRendererServices()
,
getHardwareInfo()
,
depthBufferDepth
colorDepth
Syntax
the colorDepth
Description
System property; determines the color depth of the computer’s monitor.
•
In Windows, using this property lets you check and set the monitor’s color depth. Some video
card and driver combinations may not enable you to set the
colorDepth
property. Always
verify that the color depth has actually changed after you attempt to set it.
•
On the Macintosh, this property lets you check the color depth of different monitors and
change it when appropriate.
Possible values are the following:
1
Black and white
2
4 colors
4
16 colors
8
256 colors
Содержание DIRECTOR MX-LINGO DICTIONARY
Страница 1: ...Lingo Dictionary Macromedia Director MX...
Страница 756: ...Index 756...