Flash Player 6.
my_txt
.addListener(
newListener
)
newListener
An object with the events onChanged
and onScroller
notifications.
Nothing.
Method; registers an object to receive event notifications. When the onChanged
or onScroller
event occurs, the TextField.onChanged
and TextField.onScroller
events are invoked, followed by the onChanged
and onScroller
methods of listening objects registered with addListener
. Multiple objects may listen for change notifications. If the listener newListener
is already registered, no change occurs.