Flash 8 Documentation |
|||
| ActionScript 2.0 Language Reference > ActionScript language elements > Global Properties > scroll property | |||
textFieldVariableName.scroll = x
Deprecated since Flash Player 5. This property was deprecated in favor of TextField.scroll.
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, 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.
Availability: ActionScript 1.0; Flash Player 4
The following code is attached to an Up button that scrolls the text field named myText:
on (release) {
myText.scroll = myText.scroll + 1;
}
maxscroll (TextField.maxscroll property), scroll (TextField.scroll property)
Version 8
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/8/main/00001793.html