Button
349
3
"multiply"
Multiplies the values of the
button constituent colors by
those of the background color,
and then normalizes by dividing
by 0xFF, resulting in darker
colors. This is commonly used for
shadows and depth effects.
For example, if a constituent
color (such as red) of one pixel in
the button and the
corresponding color of the pixel
in the background both have the
value 0x88, the multiplied result
is 0x4840. Dividing by 0xFF
yields a value of 0x48 for that
constituent color, which is a
darker shade than that of the
button or that of the background.
4
"screen"
Multiplies the complement
(inverse) of the button color by
the complement of the
background color, resulting in a
bleaching effect. This setting is
commonly used for highlights or
to remove black areas of the
button.
5
"lighten"
Selects the lighter of the
constituent colors of the button
and those of the background (the
ones with the larger values). This
setting is commonly used for
superimposing type.
For example, if the button has a
pixel with an RGB value of
0xFFCC33, and the background
pixel has an RGB value of
0xDDF800, then the resulting
RGB value for the displayed pixel
is 0xFFF833 (because 0xFF >
0xDD, 0xCC < 0xF8, and 0x33 >
0x00 = 33).
Integer value
String value
Illustration
Description
Содержание FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Страница 1: ...ActionScript 2 0 Language Reference ...
Страница 1352: ...1352 ActionScript classes ...