It is an Event handler; invoked when one of the text field scroll properties changes.

When the scroll properties can change?
Either when the text of the text field changes or when the size of the text field is altered.

It fires the onScroller event and updates the maxscroll, and maxhscroll properly when text is changed. […]