maxscroll Property

ActionScript for Flash MX: The Definitive Guide, 2nd Edition
By Colin Moock
Chapter 18.  ActionScript Language Reference
maxscroll Property Flash 6

the last legal top line of a text fieldFlash 4; replaced by TextField.maxscroll in
theTextField.maxscroll

Returns

A positive integer representing the line number of the last legal top line of a text field.

Description

The 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. In Flash 4 and Flash 5, the maxscroll property is used with the scroll property to manage a scrolling-text field. As of Flash 6, maxscroll is formalized as a property of the TextField class, TextField.maxscroll.

See Also

scroll, TextField.bottomScroll, TextField.hscroll, TextField.maxscroll, TextField.scroll



    ActionScript for Flash MX. The Definitive Guide
    ActionScript for Flash MX: The Definitive Guide, Second Edition
    ISBN: 059600396X
    EAN: 2147483647
    Year: 2002
    Pages: 780
    Authors: Colin Moock

    flylib.com © 2008-2017.
    If you may any questions please contact us: flylib@qtcs.net