Table of Contents

TextField.maxscroll Property Flash 5

the last legal top line of a text fieldFlash 6; corresponds to the maxscroll property in Flash 4 and read-only
theField.maxscroll

Description

The integer maxscroll property tells us the largest allowed scroll value for a text field. It represents the number of the last line in a text field that can be used as the top line in its viewable region. Note that maxscroll is not equal to the number of text lines; that value must be obtained manually, as discussed under TextField.bottomScroll.

See Example 18-7 under TextField.scroll for sample scrolling code.

See Also

TextField.bottomScroll, TextField.hscroll, TextField.maxhscroll, TextField.scroll; the FScrollBar component in Appendix G


Table of Contents