03.05.2013 Views

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

FLASH® LITE™ 2.x - Adobe Help and Support

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

_highquality (MovieClip._highquality property)<br />

public _highquality : Number<br />

Deprecated since Flash Player 7. This property was deprecated in favor of<br />

MovieClip._quality.<br />

Specifies the level of anti-aliasing applied to the current SWF file. Specify 2 (best quality) to<br />

apply high quality with bitmap smoothing always on. Specify 1 (high quality) to apply antialiasing;<br />

this will smooth bitmaps if the SWF file does not contain animation. Specify 0 (low<br />

quality) to prevent anti-aliasing. This property can overwrite the global _highquality<br />

property.<br />

Example<br />

The following ActionScript specifies that best quality anti-aliasing should be applied to the<br />

SWF file.<br />

my_mc._highquality = 2;<br />

See also<br />

_quality (MovieClip._quality property), _quality property<br />

hitArea (MovieClip.hitArea property)<br />

public hitArea : Object<br />

Designates another movie clip to serve as the hit area for a movie clip. If the hitArea property<br />

does not exist or is null or undefined, the movie clip itself is used as the hit area. The value<br />

of the hitArea property may be a reference to a movie clip object.<br />

You can change the hitArea property at any time; the modified movie clip immediately takes<br />

on the new hit area behavior. The movie clip designated as the hit area does not need to be<br />

visible; its graphical shape, although not visible, is hit-tested. The hitArea property can be<br />

read out of a prototype object.<br />

Example<br />

The following example sets the circle_mc movie clip as the hit area for the square_mc movie<br />

clip. Place these two movie clips on the Stage <strong>and</strong> test the document. When you click<br />

circle_mc, the square_mc movie clip traces that it was clicked.<br />

square_mc.hitArea = circle_mc;<br />

square_mc.onRelease = function() {<br />

trace("hit! "+this._name);<br />

};<br />

MovieClip 437

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!