MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference page 843

Actionscript 2.0 language reference
Table of Contents

Advertisement

Integer value String value
7
"difference"
8
"add"
9
"subtract"
10
"invert"
Illustration Description
Compares the constituent colors of the
movie clip with those of its background,
and subtracts the darker of the values of
the two constituent colors from the lighter
one. This setting is commonly used for
more vibrant colors.
For example, if the movie clip has a pixel
with a RGB value of 0xFFCC33, and the
background pixel has an RGB value of
0xDDF800, the resulting RGB value for
the displayed pixel is 0x222C33 (because
0xFF - 0xDD = 0x22, 0xF8 - 0xCC =
0x2C, and 0x33 - 0x00 = 0x33).
Adds the values of the constituent colors
of the movie clip to those of its background,
applying a ceiling of 0xFF. This setting is
commonly used for animating a lightening
dissolve between two objects.
For example, if the movie clip has a pixel
with an RGB value of 0xAAA633, and the
background pixel has an RGB value of
0xDD2200, the resulting RGB value for
the displayed pixel is 0xFFC833 (because
0xAA + 0xDD > 0xFF, 0xA6 + 0x22 =
0xC8, and 0x33 + 0x00 = 0x33).
Subtracts the values of the constituent
colors in the movie clip from those of the
background, applying a floor of 0. This
setting is commonly used for animating a
darkening dissolve between two objects.
For example, if the movie clip has a pixel
with an RGB value of 0xAA2233, and the
background pixel has an RGB value of
0xDDA600, the resulting RGB value for
the displayed pixel is 0x338400 (because
0xDD - 0xAA = 0x33, 0xA6 - 0x22 =
0x84, and 0x00 - 0x33 < 0x00).
Inverts the background.
MovieClip
843

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF