S > scroll |
![]() ![]() ![]() |
scroll
Availability
Flash Player 4.
Usage
textFieldVariableName
.scroll=
x
Description
Property; a deprecated property that 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.
Example
The following code is attached to an Up button that scrolls the text field myText
:
on (release) { myText.scroll = myText.scroll + 1; }
See also
TextField.maxscroll
,
TextField.scroll
![]() ![]() ![]() |