User Guide
458 Objects
Description
Property; a string that specifies paragraph justification. Acceptable values are "left",
"center", "right", and "justify".
Example
The following example sets the paragraphs that contain characters between index 0 up to, but
not including, index 3 to justify. This can affect characters outside the specified range if they
are in the same paragraph.
fl.getDocumentDOM().setTextSelection(0, 3);
fl.getDocumentDOM().setElementTextAttr('alignment', 'justify');
textAttrs.autoKern
Availability
Flash MX 2004.
Usage
textAttrs.autoKern
Description
Property; a Boolean value that determines whether Flash uses (true) or ignores (false) pair
kerning information in the font(s) when it kerns the text.
Example
The following example selects the characters from index 2 up to, but not including, index 6
and sets the
autoKern property to true:
fl.getDocumentDOM().setTextSelection(3, 6);
fl.getDocumentDOM().setElementTextAttr('autoKern', true);
textAttrs.bold
Availability
Flash MX 2004.
Usage
textAttrs.bold