MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 458

Extending flash
Table of Contents

Advertisement

Description
Property; a string that specifies paragraph justification. Acceptable values are
,
"left"
,
, and
.
"center"
"right"
"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 (
) or ignores (
) pair
true
false
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
property to
:
autoKern
true
fl.getDocumentDOM().setTextSelection(3, 6);
fl.getDocumentDOM().setElementTextAttr('autoKern', true);
textAttrs.bold
Availability
Flash MX 2004.
Usage
textAttrs.bold
458
Objects

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents