Sprites
181
You change the ink for a sprite in the Property inspector or with Lingo.
To achieve the fastest animation rendering on the screen, use Copy ink; other ink types might
have a slight effect on performance.
To change a sprite’s ink with the Property inspector:
1
Select the sprite.
2
Select the desired type of ink from the Ink pop-up menu on the Sprite tab in the
Property inspector.
To change a sprite’s ink with Lingo:
•
Set the sprite’s
ink
sprite property. See
ink
in the Lingo Dictionary.
Note:
If Background Transparent and Matte inks don’t seem to work, the background of the image might not
be true white. Also, if the edges of the image have been blended or are fuzzy, applying these inks might create
a halo effect. Use the Paint window or an image-editing program to change the background to true white
and harden the edges. You can also re-create the image with an alpha channel (transparency) and reimport
the image.
Using Mask ink to create transparency effects
To reveal or tint certain parts of a sprite, you use Mask ink. Mask ink lets you define a mask cast
member, which controls the degree of transparency for parts of a sprite.
The original cast member, its mask, and the sprite with Mask ink applied.
Black areas of a mask cast member make the sprite completely opaque in those areas, and white
areas make it completely transparent (invisible). Colors between black and white are more or less
transparent; darker colors are more opaque.
Sprite with Copy ink
Sprite with Matte ink
Summary of Contents for DIRECTOR MX-USING DIRECTOR MX
Page 1: ...Using Director MX Macromedia Director MX...
Page 12: ...Contents 12...
Page 156: ...Chapter 4 156...
Page 202: ...Chapter 6 202...
Page 244: ...Chapter 7 244...
Page 292: ...Chapter 10 292...
Page 330: ...Chapter 12 330...
Page 356: ...Chapter 13 356...
Page 372: ...Chapter 14 372...
Page 442: ...Chapter 16 442...
Page 472: ...Chapter 18 472...
Page 520: ...Chapter 19 520...
Page 536: ...Chapter 20 536...
Page 562: ...Chapter 23 562...
Page 566: ...Chapter 24 566...
Page 602: ...Chapter 27 602...