Text.accname – Adobe Extending Flash Professional CS4 User Manual
Page 459

437
EXTENDING FLASH CS4 PROFESSIONAL
Text object
text.accName
Availability
Flash MX 2004.
Usage
text.accName
Description
Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers identify objects by
reading the name aloud. This property cannot be used with dynamic text.
Example
The following example retrieves the name of the object:
A string that consists of delimited integers that correspond to the items that can be
selected in the Character Embedding dialog box.
A string that specifies the rendering mode for the text.
Read-only; an integer that represents the number of characters in the Text object.
A string that sets the line type to
"single line"
,
"multiline"
,
"multiline no
wrap"
, or
"password"
.
An integer that specifies the maximum characters the user can enter into this Text
object.
A string that specifies the orientation of the text field.
A Boolean value that controls whether Flash draws the text as HTML and interprets
embedded HTML tags.
A Boolean value that controls whether the text can (
true
) or cannot (
false
) be
scrolled.
A Boolean value that controls whether the text can (
true
) or cannot (
false
) be
selected. Input text is always selectable.
A zero-based integer that specifies the offset of the end of a text subselection.
A zero-based integer that specifies the offset of the beginning of a text subselection.
A string that is equivalent to the Shortcut field in the Accessibility panel.
A Boolean value that specifies whether the object is accessible.
An integer that is equivalent to the Tab Index field in the Accessibility panel.
Read-only; an array of TextRun objects.
A string that specifies the type of text field. Acceptable values are
"static"
,
"dynamic"
, and
"input"
.
A Boolean value. A value of
true
causes Flash to draw text using device fonts.
A string that contains the contents of the Text object.
Property
Description