User Guide
Button 359
_highquality (Button._highquality property)
public _highquality : Number
Deprecated since Flash Player 7. This property was deprecated in favor of Button._quality.
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.
Availability: ActionScript 1.0; Flash Player 6
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 myBtn_btn, the circle's stroke will look jagged. You could add the following
ActionScript instead to affect the SWF globally:
_quality = 0;
See also
_quality (Button._quality property), _quality property
menu (Button.menu property)
public menu : ContextMenu
Associates the ContextMenu object contextMenu with the button object my_button. The
ContextMenu class lets you modify the context menu that appears when the user right-clicks
(Windows) or Control-clicks (Macintosh) in Flash Player.
Availability: ActionScript 1.0; Flash Player 7