Blendmode (Button.blendmode Property) - MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE Reference

Actionscript 2.0 language reference
Table of Contents

Advertisement

blendMode (Button.blendMode property)

public blendMode : Object
The blend mode for the button. The blend mode affects the appearance of the button when it
is in a layer above another object onscreen.
Flash Player applies the
composed of three constituent colors (red, green, and blue), and each constituent color has a
value between 0x00 and 0xFF. Flash Player compares each constituent color of one pixel in
the button with the corresponding color of the pixel in the background. For example, if
is set to
blendMode
"lighten"
red value of the background, and uses the lighter of the two as the value for the red
component of the displayed color.
The following table describes the
use either an integer from 1 to 14 or a string. The illustrations in the table show
applied to a button (2) when superimposed on another onscreen object (1).
Integer value
String value
1
"normal"
2
"layer"
348
ActionScript classes
property on each pixel of the button. Each pixel is
blendMode
, Flash Player compares the red value of the button with the
blendMode
Illustration
settings. To set the
blendMode
Description
The button appears in front of the
background. Pixel values of the
button override those of the
background. Where the button is
transparent, the background is
visible.
Forces the creation of a
temporary buffer for
precomposition for the button.
This is done automatically if there
is more than one child object in a
button and a
other than
for the child.
property, you can
blendMode
setting
blendMode
is selected
"normal"

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