Chapter 9
256
Director identifies a palette index color by the number of its position in a set of colors called a
color palette. Color number 12, for example, might be blue. If a different palette is active, color
number 12 might be red. When a computer is set to display 256 colors or fewer, it can display
only the colors in the palette currently active in the system. This means that images created to
display with the colors of one palette do not appear correctly when a different palette is active.
If you use palette index color in a movie and then switch palettes during the movie, or never
make sure that the correct palette is active, the images in your movie might appear with the
wrong colors.
Director identifies an RGB color as a set of hexadecimal numbers that specify the amounts of red,
green, and blue required to create the color. When a computer is set to display thousands or
millions of colors, Director always displays RGB colors accurately. When a computer is set to 256
colors, Director finds the closest color in the current color palette to approximate the RGB color.
To choose the color mode for the current movie, you use the color mode settings on the Movie
tab of the Property inspector. When you select RGB, all the colors you select from the Color
menu in Director are specified in RGB values. When you select Index, the colors you choose are
specified according to their position in the current palette. The Color menu indicates which
method is being used.
To change the color mode of a movie:
1
Display the Movie tab of the Property inspector.
2
Select either RGB or Index.
Changing the color depth of a movie
When you save a Director movie, it is set to the same color depth as the system on which you are
authoring it. You can use Lingo to reset the system color depth to match the color depth of a
movie. See
switchColorDepth
in the Lingo Dictionary.
If you want to set the color depth of a movie without using Lingo, you can use system utilities to
change the color depth of your system before you save the movie file. On the Macintosh, you can
also make the movie reset the system color depth by selecting Edit > Preferences > General and
selecting Reset Monitor to Movie’s Color Depth.
Stage color
Color mode settings
Содержание DIRECTOR MX-USING DIRECTOR MX
Страница 1: ...Using Director MX Macromedia Director MX...
Страница 12: ...Contents 12...
Страница 156: ...Chapter 4 156...
Страница 202: ...Chapter 6 202...
Страница 244: ...Chapter 7 244...
Страница 292: ...Chapter 10 292...
Страница 330: ...Chapter 12 330...
Страница 356: ...Chapter 13 356...
Страница 372: ...Chapter 14 372...
Страница 442: ...Chapter 16 442...
Страница 472: ...Chapter 18 472...
Страница 520: ...Chapter 19 520...
Страница 536: ...Chapter 20 536...
Страница 562: ...Chapter 23 562...
Страница 566: ...Chapter 24 566...
Страница 602: ...Chapter 27 602...