User Guide

308 Chapter 3: Objects
text.accName
Availability
Flash MX 2004.
Usage
text.accName
text.embeddedCharacters Property; a string that specifies characters to embed. This is equivalent
to entering text in the Character Options dialog box.
text.embedRanges Property; a string that consists of delimited integers that correspond to
the items that can be selected in the Character Options dialog box.
text.length Read-only; an integer that represents the number of characters in the
text object.
text.lineType Property; a string that sets the line type to "single line", "multiline",
"multiline no wrap", or "password".
text.maxCharacters Property; an integer that specifies the maximum characters the user can
enter into this text object.
text.orientation Property; a string that specifies the orientation of the text field.
text.renderAsHTML Property; a Boolean value that controls whether Flash draws the text as
HTML and interprets embedded HTML tags.
text.scrollable Property; a Boolean value that controls whether the text can (true) or
cannot (
false) be scrolled.
text.selectable Property; a Boolean value that controls whether the text can (true) or
cannot (false) be selected. Input text is always selectable.
text.selectionEnd Property; a zero-based integer that specifies the offset of the end of a
text subselection.
text.selectionStart Property; a zero-based integer that specifies the offset of the beginning
of a text subselection.
text.shortcut Property; a string that is equivalent to the Shortcut field in the
Accessibility panel.
text.silent Property; a Boolean value that specifies whether the object is accessible.
text.tabIndex Property; an integer that is equivalent to the Tab Index field in the
Accessibility panel.
text.textRuns Read-only; an array of TextRun objects.
text.textType Property; a string that specifies the type of text field. Acceptable values
are
"static", "dynamic", and "input".
text.useDeviceFonts Property; a Boolean value. A value of true causes Flash to draw text
using device fonts.
text.variableName Property; a string that contains the contents of the text object.
Property Description