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
Содержание 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...