MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 460

Extending flash
Table of Contents

Advertisement

Description
Property; an integer that represents the space between characters. Acceptable values are -60
through 60.
This property applies only to static text; it generates a warning if used with other text types.
Example
The following example sets the character spacing of the selected text field to 10:
fl.getDocumentDOM().setElementTextAttr("characterSpacing", 10);
textAttrs.face
Availability
Flash MX 2004.
Usage
textAttrs.face
Description
Property; a string that represents the name of the font, such as
Example
The following example sets the font of the selected text field from the character at index 2 up
to, but not including, the character at index 8 to
fl.getDocumentDOM().selection[0].setTextAttr("face", "Arial", 2, 8);
textAttrs.fillColor
Availability
Flash MX 2004.
Usage
textAttrs.fillColor
Description
Property; the color of the fill, in one of the following formats:
a string in the format
a hexadecimal number in the format
an integer that represents the decimal equivalent of a hexadecimal number
460
Objects
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
"Arial"
:
"Arial"
.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents