TextField
661
_height (TextField._height property)
public _height :
Number
The height of the text field in pixels.
Availability:
ActionScript 1.0; Flash Lite 2.0
Example
The following code example sets the height and width of a text field:
my_txt._width = 200;
my_txt._height = 200;
_highquality (TextField._highquality property)
public _highquality :
Number
Deprecated
since Flash Player 7. This property was deprecated in favor of
TextField._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
See also
_quality (TextField._quality property)
hscroll (TextField.hscroll property)
public hscroll :
Number
Indicates the current horizontal scrolling position. If the
hscroll
property is 0, the text is not
horizontally scrolled.
The units of horizontal scrolling are pixels, while the units of vertical scrolling are lines.
Horizontal scrolling is measured in pixels because most fonts you typically use are
proportionally spaced; meaning, the characters can have different widths. Flash performs
vertical scrolling by line because users usually want to see a line of text in its entirety, as
opposed to seeing a partial line. Even if there are multiple fonts on a line, the height of the
line adjusts to fit the largest font in use.
Note:
The hscroll property is zero-basednot one-based like the vertical scrolling property
TextField.scroll
.
Содержание Flash Lite 2
Страница 1: ...Flash Lite 2 x ActionScript Language Reference...
Страница 22: ...22 Contents...
Страница 244: ...244 ActionScript language elements...
Страница 760: ...760 ActionScript classes...