EasyManua.ls Logo

MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR - Page 76

MACROMEDIA DIRECTOR MX 2004-USING DIRECTOR
500 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
76 Chapter 3: Sprites
To change the color of a sprite with Lingo or JavaScript syntax, set the appropriate
sprite property:
The color sprite property sets the sprites foreground color. The value is an RGB value.
For more information about this property, see the Scripting Reference topics in the Director
Help Panel.
The bgColor sprite property sets the sprites background color. The value is an RGB value.
For more information about this property, see the Scripting Reference topics in the Director
Help Panel.
Setting blends
You can use blending to make sprites transparent. To change a sprites blend setting, use the Sprite
tab in the Property inspector.
Director can gradually change blend settings to make sprites fade in or out. See Tweening other
sprite properties” on page 86.
The Blend percentage value affects only Copy, Background Transparent, Matte, Mask,
and Blend inks.
To set blending for a sprite:
1 Select the sprite.
2 Select a percentage from the Blend pop-up menu in the Property inspector, or enter a blend
percentage between 0 and 100.
To set blending with Lingo or JavaScript syntax:
Set the blend sprite property. For more information about this property, see the Scripting
Reference topics in the Director Help Panel.
Blend setting of 100%
Blend setting of 30%

Table of Contents

Related product manuals