User Guide

TextAttrs object 457
textAttrs.aliasText
Availability
Flash MX 2004.
Usage
textAttrs.aliasText
Description
Property; a Boolean value that specifies that Flash should draw the text using a method
optimized for increasing the legibility of small text.
Example
The following example sets the aliasText property to true for all the text in the currently
selected text field:
fl.getDocumentDOM().setElementTextAttr('aliasText', true);
textAttrs.alignment
Availability
Flash MX 2004.
Usage
textAttrs.alignment
textAttrs.lineSpacing An integer that specifies the line spacing (leading) of the
paragraph
textAttrs.rightMargin An integer that specifies the paragraph’s right margin.
textAttrs.rotation A Boolean value. A value of true causes Flash to rotate the
characters of the text 90º. The default value is
false.
textAttrs.size An integer that specifies the size of the font.
textAttrs.target A string that represents the target property of the text field.
textAttrs.url A string that represents the URL property of the text field.
Property Description