User Guide
Global Properties 121
Example
In the following example, there is a movie clip on the Stage with the instance name
square_mc. Within that movie clip is another movie clip with an instance name circle_mc.
The following ActionScript lets you modify the
circle_mc parent instance (which is
square_mc) when the circle is clicked. When you are working with relative addressing (using
_parent instead of _root), it might be easier to use the Insert Target Path button in the
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
_quality property.
The
_quality property can be set to the values described in the following table.
Value Description Graphic Anti-
Aliasing
Bitmap Smoothing
"LOW" Low rendering quality. Graphics are not anti-
aliased.
Bitmaps are not smoothed.
"
MEDIUM" Medium rendering
quality. This setting is
suitable for movies that
do not contain text.
Graphics are anti-
aliased using a 2 x 2
pixel grid.
Flash Player 8: Bitmaps are
smoothed based on the
smoothing parameter used in
MovieClip.attachBitmap()
and
MovieClip.beginBitmapFill()
calls.
Flash Player 6 and 7:
Bitmaps are not smoothed.