T > TextField.scroll

 

TextField.scroll

Availability

Flash Player 6.

Usage

TextField.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 myText text field.

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

See also

TextField.maxscroll, TextField.scroll