S > scroll

scroll

Syntax

variable_name.scroll = x

Arguments

variable_name The name of a variable associated with a text field.

x The line number of the topmost visible line in the text field. You can specify this value or use the default value of 1. The Flash Player updates this value as the user scrolls up and down the text field.

Description

Property; controls the display of information in a text field associated with a variable. The scroll property defines where the text field begins displaying content; after you set it, the Flash Player updates it as the user scrolls through the 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.

Player

Flash 4 or later.

See also

maxscroll