User Guide

872 Chapter 2: ActionScript Language Reference
Event handler summary for the TextField class
Listener summary for the TextField class
TextField.textHeight
The height of the text field’s bounding box.
TextField.textWidth
The width of the text field’s bounding box.
TextField.type
Indicates whether a text field is an input text field or dynamic
text field.
TextField._url
Read-only; the URL of the SWF file that created the text field
instance.
TextField.variable
The variable name associated with the text field.
TextField._visible
A Boolean value that determines whether a text field instance is
hidden or visible.
TextField._width
The width of a text field instance in pixels. This only affects the
bounding box of the text field, it does not affect the border
thickness or text font size.
TextField.wordWrap
Indicates whether the text field word-wraps.
TextField._x
The x coordinate of a text field instance
TextField._xmouse
Read-only; the x coordinate of the pointer relative to a text field
instance.
TextField._xscale
The value specifying the percentage for horizontally scaling a text
field instance.
TextField._y
The y coordinate of a text field instance.
TextField._ymouse
Read-only; the y coordinate of the pointer relative to a text field
instance.
TextField._yscale
The value specifying the percentage for vertically scaling a text
field instance.
Event handler Description
TextField.onChanged
Invoked when the text field is changed.
TextField.onKillFocus
Invoked when the text field loses focus.
TextField.onScroller
Invoked when one of the text field scroll properties changes.
TextField.onSetFocus
Invoked when the text field receives focus.
Method Description
TextField.onChanged
Notified when the text field is changed.
TextField.onScroller
Notified when the scroll or maxscroll property of a text
field changes.
Property Description