MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 844

Actionscript 2.0 language reference
Table of Contents

Advertisement

Integer value String value
11
"alpha"
12
"erase"
13
"overlay"
14
"hardlight"
If you attempt to set the
.
"normal"
However, if you set the property to an integer, Flash Player converts the value to the
corresponding string version:
this.createEmptyMovieClip("mclip", this.getNextHighestDepth());
mclip.blendMode = 8;
trace (mclip.blendMode) // add
Availability: ActionScript 1.0; Flash Player 8
844
ActionScript classes
Illustration Description
property to any other value, Flash Player sets it to
blendMode
Applies the alpha value of each pixel of the
movie clip to the background. This requires
the "layer"
blendMode
to a parent movie clip. For example, in the
illustration, the parent movie clip, which is a
white background, has
.
"layer"
Erases the background based on the alpha
value of the movie clip. This requires the
"layer"
to be applied to a parent
blendMode
movie clip. For example, in the illustration,
the parent movie clip, which is a white
background, has
blendMode = "layer"
Adjusts the color of each bitmap based on
the darkness of the background. If the
background is lighter than 50% gray, the
movie clip and background colors are
screened, which results in a lighter color. If
the background is darker than 50% gray,
the colors are multiplied, which results in a
darker color. This setting is commonly used
for shading effects.
Adjusts the color of each bitmap based on
the darkness of the movie clip. If the movie
clip is lighter than 50% gray, the movie clip
and background colors are screened,
which results in a lighter color. If the movie
clip is darker than 50% gray, the colors are
multiplied, which results in a darker color.
This setting is commonly used for shading
effects.
setting to be applied
blendMode =
.

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF