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
used in this example.
See also
createGradientBox (Matrix.createGradientBox method)
(MovieClip.beginFill method)
(MovieClip.lineStyle method)
(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
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
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.
840
ActionScript classes
MovieClip.getNextHighestDepth()
,
endFill (MovieClip.endFill method)
,
lineTo (MovieClip.lineTo method)
property on each pixel of the movie clip. Each pixel is
blendMode
, Flash Player compares the red value of the movie clip with the
method, which is
,
beginFill
,
lineStyle
,
moveTo
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?