User Guide

Table Of Contents
54 Flash Lite Properties
maxscroll
Availability
Flash Lite 1.1
Usage
variable_name:maxscroll
Description
Property (read-only); indicates the line number of the first visible line of text in a scrollable
text field when the last line in the field is also visible. The
maxscroll property works with the
scroll property to control how information appears in a text field. This property can be
retrieved but not modified.
Example
The following code, which scrolls the myText text field down one line when the user presses
the 8 key, tests against
maxscroll before scrolling:
on(keyPress "8") {
if (myText:scroll < myText:maxscroll) {
myText:scroll++;
}
}
See also
scroll
_name
Availability
Flash Lite 1.0.
Usage
my_mc:_name