User Guide

Text object 437
Property summary for the Text object
In addition to the Element object properties, the following properties are available for the
Text object:
Property Description
text.accName A string that is equivalent to the Name field in the Accessibility
panel.
text.antiAliasSharpness A float value that specifies the anti-aliasing sharpness of the
text.
text.antiAliasThickness A float value that specifies the anti-aliasing thickness of the text.
text.autoExpand A Boolean value that controls the expansion of the bounding
width for static text fields or the bounding width and height for
dynamic or input text.
text.border A Boolean value that controls whether Flash shows (true) or
hides (
false) a border around dynamic or input text.
text.description A string that is equivalent to the Description field in the
Accessibility panel.
text.embeddedCharacters A string that specifies characters to embed. This is equivalent to
entering text in the Character Options dialog box.
text.embedRanges A string that consists of delimited integers that correspond to
the items that can be selected in the Character Options dialog
box.
text.fontRenderingMode A string that specifies the rendering mode for the text.
text.length Read-only; an integer that represents the number of characters
in the text object.
text.lineType A string that sets the line type to "single line", "multiline",
"multiline no wrap", or "password".
text.maxCharacters An integer that specifies the maximum characters the user can
enter into this text object.
text.orientation A string that specifies the orientation of the text field.
text.renderAsHTML A Boolean value that controls whether Flash draws the text as
HTML and interprets embedded HTML tags.
text.scrollable A Boolean value that controls whether the text can (true) or
cannot (
false) be scrolled.
text.selectable A Boolean value that controls whether the text can (true) or
cannot (false) be selected. Input text is always selectable.