Changing Size, Color Depth, And Color Palette For Bitmaps - Adobe 65036570 - Director - PC User Manual

User guide
Hide thumbs Also See for 65036570 - Director - PC:
Table of Contents

Advertisement

Set a bitmap's registration point with Lingo or JavaScript syntax
Set the
cast member property. Set the
regPoint
automatically centers the registration point if the bitmap is edited. For example, you can set the regPoint cast member
property using the following:
Lingo:
member("bitmapMemberName").regPoint = point(10,10)
JavaScript:
member("bitmapMemberName").regPoint = point(10,10);
For more information, see the Scripting Reference topics in the Director Help Panel.
Changing size, color depth, and color palette for
bitmaps
Use Transform Bitmap to change the size, color depth, and palette of selected cast members. Any change you make
to a cast member's color depth or palette affects the cast member itself—not only its appearance on the Stage. You
can't undo changes to the color depth and palette. If you want to keep a cast member's original bitmap unchanged
but temporarily apply a different palette, use the Member tab in the cast member's Property inspector. To change the
size of only the sprite on the Stage, use the Sprite tab in the sprite's Property inspector.
You can also remap images to new palettes with an image-editing program such as Fireworks
The Transform Bitmap dialog box displays values for the current selection. If you select more than one cast member,
a blank value indicates that cast members in the selection have different values. To maintain a cast member's original
value, leave that value blank in the dialog box.
Select the bitmap cast members to change.
1
2
Select Modify > Transform Bitmap.
To change the size of the bitmap, do one of the following:
3
If multiple cast members are selected, you can resize all the cast members to the dimensions you enter.
Enter new measurements (in pixels) in the Width and Height text boxes.
Enter a scaling percentage in the Scale text box.
Select Maintain Proportions to keep the width and height of the selected cast member in proportion. If you
change the width, the proportional height is automatically entered in the Height text box. If you use Transform
Bitmap to change several cast members at once, be sure to deselect Maintain Proportions. If you don't, all cast
members are resized to the values in the Width and Height text boxes.
To change the color depth, select an option from the Color Depth pop-up menu.
4
For more information about the color depth of bitmap cast members, see
To change the palette, select a palette from the Palette menu and select one of the following remapping options:
5
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.
property to specify whether Director
centerRegPoint
Controlling
ADOBE DIRECTOR 11.0
User Guide
®
.
color.
117

Advertisement

Table of Contents
loading

This manual is also suitable for:

Director 11

Table of Contents