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

Actionscript 2.0 language reference
Table of Contents

Advertisement

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
property is 0, the text is not
hscroll
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
TextField
1185

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents

Save PDF