Example
In the following example, there is a movie clip on the Stage with the instance name
. Within that movie clip is another movie clip with an instance name
square_mc
The following ActionScript lets you modify the
) when the circle is clicked. When you are working with relative addressing (using
square_mc
instead of
_parent
_root
Actions panel at first.
this.square_mc.circle_mc.onRelease = function() {
this._parent._alpha -= 5;
};
See also
,
_root property
targetPath function
_quality property
_quality:String
Sets or retrieves the rendering quality used for a movie clip. Device fonts are always aliased
and therefore are unaffected by the
The
property can be set to the values described in the following table.
_quality
Value
Description
"
"
Low rendering quality.
LOW
"
"
Medium rendering
MEDIUM
quality. This setting is
suitable for movies that
do not contain text.
), it might be easier to use the Insert Target Path button in the
property.
_quality
Graphic Anti-
Aliasing
Graphics are not anti-
aliased.
Graphics are anti-
aliased using a 2 x 2
pixel grid.
parent instance (which is
circle_mc
Bitmap Smoothing
Bitmaps are not smoothed.
Flash Player 8: Bitmaps are
smoothed based on the
smoothing
MovieClip.attachBitmap()
and
MovieClip.beginBitmapFill()
calls.
Flash Player 6 and 7:
Bitmaps are not smoothed.
.
circle_mc
parameter used in
Global Properties
121
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?