textWidth (TextField.textWidth property)
public textWidth : Number
Indicates the width of the text.
Availability: ActionScript 1.0; Flash Player 6
Example
See the example for
TextField.textHeight
See also
textHeight (TextField.textHeight property)
thickness (TextField.thickness property)
public thickness : Number
The thickness of the glyph edges in this TextField instance. This property applies only when
is set to
antiAliasType()
The range for
thickness
value outside that range, the property is set to the nearest value in the range (either -200 or
200).
Availability: ActionScript 1.0; Flash Player 8
Example
This example creates two text fields and applies a
other. It assumes that you have a font embedded in the Library with the linkage identifier set
to
. To embed the font, follow these steps:
"Times-12"
Open your Library
Click the Library options menu in the upper right corner of the Library
Select "New Font" from the dropdown list
Name the font "Times-12"
Select "Times New Roman" from the font dropdown list
Press the "OK" button
Right-click on the newly created font and select "Linkage..."
Check the "Export for ActionScript" box
Accept the default identifier "Times-12" by pressing the "OK" button
var my_format:TextFormat = new TextFormat();
my_format.font = "Times-12";
.
.
"advanced"
is a number from -200 to 200. If you attempt to set
of -200 to one and 200 to the
thickness
to a
thickness
TextField
1219
Need help?
Do you have a question about the FLASH 8-ACTIONSCRIPT 2.0 LANGUAGE and is the answer not in the manual?