Button._Highquality - MACROMEDIA FLASH MX 2004-ACTIONSCRIPT LANGUAGE Reference

Actionscript language reference
Table of Contents

Advertisement

Button._highquality

Availability
Flash Player 6. The global version of this function was deprecated in Flash 5 in favor of
.
_quality
Usage
my_btn._highquality:Number
Description
Property (global); specifies the level of anti-aliasing applied to the current SWF file. Specify 2
(best quality) to apply high quality with bitmap smoothing always on. Specify 1 (high quality) to
apply anti-aliasing; this smooths bitmaps if the SWF file does not contain animation and is the
default value. Specify 0 (low quality) to prevent anti-aliasing.
Example
Add a button instance on the Stage and name it myBtn_btn. Draw an oval on the Stage using the
Oval tool that has a stroke and fill color. Select Frame 1 and add the following ActionScript using
the Actions panel:
myBtn_btn.onRelease = function(){
myBtn_btn._highquality = 0;
};
When you click
ActionScript instead to affect the SWF globally:
_highquality = 0;
See also
_quality
1074
Appendix: Deprecated Language Elements
, the circle's stroke will look jagged. You could add the following
myBtn_btn

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx

Table of Contents