840
ActionScript classes
This draws the following image (the image is scaled by 50%):
If your SWF file includes a version 2 component, use the version 2 components
DepthManager class instead of the
MovieClip.getNextHighestDepth()
method, which is
used in this example.
See also
createGradientBox (Matrix.createGradientBox method)
,
beginFill
(MovieClip.beginFill method)
,
endFill (MovieClip.endFill method)
,
lineStyle
(MovieClip.lineStyle method)
,
lineTo (MovieClip.lineTo method)
,
moveTo
(MovieClip.moveTo method)
blendMode (MovieClip.blendMode property)
public blendMode : Object
The blend mode for this movie clip. The blend mode affects the appearance of the movie clip
when it is in a layer above another object onscreen.
Flash Player applies the
blendMode
property on each pixel of the movie clip. Each pixel is
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 movie clip with the corresponding color of the pixel in the background. For example, if
blendMode
is set to
"lighten"
, Flash Player compares the red value of the movie clip with the
red value of the background, and uses the lighter of the two as the value for the red
component of the displayed color.
Summary of Contents for FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
Page 1: ...ActionScript 2 0 Language Reference ...
Page 1352: ...1352 ActionScript classes ...