Height (Button._Height Property); Highquality (Button._Highquality Property); Name (Button._Name Property) - MACROMEDIA FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE Reference

Flash lite 2.x actionscript language reference
Hide thumbs Also See for FLASH 8-FLASH LITE 2.X ACTIONSCRIPT LANGUAGE:
Table of Contents

Advertisement

_height (Button._height property)

public _height :
Number
The height of the button, in pixels.
Availability: ActionScript 1.0; Flash Lite 2.0
Example
The following example sets the height and width of a button called
to a specified
my_btn
width and height.
my_btn._width = 500;
my_btn._height = 200;

_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 Lite 2.0
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

_name (Button._name property)

public _name :
String
278
ActionScript classes

Advertisement

Table of Contents
loading

Table of Contents