TextField.scroll

Availability

Flash Player 6.

Usage

my_txt.scroll

Description

Property; defines the vertical position of text in a text field. The scroll property is useful for directing users to a specific paragraph in a long passage, or creating scrolling text fields. This property can be retrieved and modified.

Example

The following code is attached to an Up button that scrolls the my_txt text field.

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

See also

TextField.maxscroll, TextField.scroll