
114
Chapter 5: Bitmaps
5
To change the palette, select a palette from the Palette pop-up menu and select one of the
following remapping options:
Remap Colors
replaces the original colors in the graphic with the most similar solid colors in
the new palette. This is the preferred option in most cases.
Dither
blends the colors in the new palette to approximate the original colors in the graphic.
256 grays
Remapped to closest colors in black and white
Dithered in black and white
6
Click Transform to execute the changes.
The settings you select in the Transform Bitmap dialog box can’t be undone.
Controlling bitmap images with Lingo or JavaScript syntax
Lingo or JavaScript syntax lets you control bitmap images in two ways. First, you can perform
simple operations that affect the content of entire image cast members. These operations include
changing the background and foreground colors in addition to switching the image that appears
in a specific cast member with that of another cast member. Each of these operations manipulates
a property of the entire image cast member.
Second, you can use Lingo or JavaScript syntax to perform fine manipulations of the pixels of an
image or to create entirely new images. When you use script, you can be extremely flexible about
which images you display. You can create images based on dynamic information, such as user
input, or based on any other factors you want to include. To perform this kind of image
operation, Lingo or JavaScript syntax works with image objects. For more information, see
“Creating image objects” on page 115
.
Содержание DIRECTOR MX 2004-USING DIRECTOR
Страница 1: ...DIRECTOR MX 2004 Using Director...
Страница 16: ...16 Chapter 1 Introduction...
Страница 82: ...82 Chapter 3 Sprites...
Страница 98: ...98 Chapter 4 Animation...
Страница 134: ...134 Chapter 5 Bitmaps...
Страница 242: ...242 Chapter 10 Sound and Synchronization...
Страница 274: ...274 Chapter 11 Using Digital Video...
Страница 290: ...290 Chapter 12 Behaviors...
Страница 302: ...302 Chapter 13 Navigation and User Interaction...
Страница 334: ...334 Chapter 15 The 3D Cast Member 3D Text and 3D Behaviors...
Страница 392: ...392 Chapter 16 Working with Models and Model Resources...
Страница 418: ...418 Chapter 18 Movies in a Window...
Страница 446: ...446 Chapter 22 Managing and Testing Director Projects...