User Guide

TextField class 871
TextField.border
Indicates if the text field has a border.
TextField.borderColor
Indicates the color of the border.
TextField.bottomScroll
Read-only; the bottommost visible line in a text field.
TextField.embedFonts
Indicates whether the text field uses embedded font outlines or
device fonts.
TextField._height
The height of a text field instance in pixels. This affects only the
bounding box of the text field; it does not affect the border
thickness or text font size.
TextField.hscroll
Indicates the horizontal scroll value of a text field.
TextField.html
A flag that indicates whether the text field contains an HTML
representation.
TextField.htmlText
Contains the HTML representation of a text field’s contents.
TextField.length
Read-only; the number of characters in a text field.
TextField.maxChars
The maximum number of characters that a text field can contain.
TextField.maxhscroll
Read-only; the maximum value of TextField.hscroll.
TextField.maxscroll
Read-only; the maximum value of TextField.scroll.
TextField.menu
Associates a ContextMenu object with a text field.
TextField.mouseWheelEnabled
Indicates whether Flash Player should automatically scroll multiline
text fields when the mouse pointer is positioned over a text field
and the user rolls the mouse wheel.
TextField.multiline
Indicates if the text field contains multiple lines.
TextField._name
The instance name of a text field instance.
TextField._parent
A reference to the instance that is the parent of this instance; either
of type Button or MovieClip.
TextField.password
Indicates if a text field hides the input characters.
TextField._quality
Indicates the rendering quality of a SWF file.
TextField.restrict
The set of characters that a user can enter into a text field.
TextField._rotation
The degree of rotation of a text field instance.
TextField.scroll
Indicates the current scrolling position of a text field.
TextField.selectable
Indicates whether a text field is selectable.
TextField.tabEnabled
Indicates whether a movie clip is included in automatic
tab ordering.
TextField.tabIndex
Indicates the tab order of an object.
TextField._target
Read-only; the target path of the specified text field instance.
TextField.text
The current text in the text field.
TextField.textColor
The color of the current text in the text field.
Property Description