User Guide

352 ActionScript classes
11 "alpha" Applies the alpha value of each
pixel of the button to the
background. This requires the
"layer"
blendMode to be applied to
a parent button. For example, in
the illustration, the parent button,
which is a white background, has
blendMode = "layer".
12 "erase" Erases the background based on
the alpha value of the button.
This requires the
"layer"
blendMode
setting to be applied to
a parent button. For example, in
the illustration, the parent button,
which is a white background, has
blendMode = "layer".
13
"overlay" Adjusts the color of each bitmap
based on the darkness of the
background. If the background is
lighter than 50% gray, the
button 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.
14
"hardlight" Adjusts the color of each bitmap
based on the darkness of the
button. If the button is lighter
than 50% gray, the button and
background colors are screened,
which results in a lighter color. If
the button is darker than 50%
gray, the colors are multiplied,
which results in a darker color.
This setting is commonly used
for shading effects.
Integer value String value Illustration Description