EasyManua.ls Logo

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE - Hscroll (Textfield.hscroll Property)

MACROMEDIA FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE
1378 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
TextField 1185
Availability: ActionScript 1.0; Flash Player 6
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-based not one-based like the vertical scrolling property
TextField.scroll.
Availability: ActionScript 1.0; Flash Player 6

Table of Contents

Related product manuals