TextField.hscroll

Availability

Flash Player 6.

Usage

my_txt.hscroll

Returns

An integer.

Description

Property; indicates the current horizontal scrolling position. If the hscroll property is 0, the text is not horizontally scrolled.

For more information on scrolling text, see Creating scrolling text.

Example

The following example scrolls the text horizontally.

on (release) {
  my_txt.hscroll += 1;
}

See also

TextField.maxhscroll, TextField.scroll