Textattrs.aliastext; Textattrs.alignment; Textattrs.autokern - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

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
selected text field:
fl.getDocumentDOM().setElementTextAttr('aliasText', true);

textAttrs.alignment

Availability
Flash MX 2004.
Usage
textAttrs.alignment
Description
Property; a string that specifies paragraph justification. Acceptable values are
, and
"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 (
kerning information in the font(s) to kern the text.
300
Chapter 3: Objects
property to
aliasText
.
for all the text in the currently
true
"left"
) or ignores (
true
,
,
"center"
) pair
false

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents