ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > Button > _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
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;
_quality (Button._quality property), _quality property
|
|
|
|