cronoklee
cronoklee

Reputation: 6712

As3 Anti alias for readibility

Anyone know how to set a dynamic text box to "antialias for readability"? Heres my code:

var t=new TextField();
t.htmlText='<FONT FACE="Arial" SIZE="12" COLOR="#FF0000">Some Text Here</FONT>'
t.x=200
t.y=300
addChild(t)

Upvotes: 0

Views: 3491

Answers (3)

Richard D
Richard D

Reputation: 5665

Check out the docs for AntiAliasType, as this offers further control over the appearance of text in your project:

http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/flash/text/AntiAliasType.html

Upvotes: 1

Swati Singh
Swati Singh

Reputation: 1863

you should create an font in the library, set it to export it for actionscript and then use the textfield.

Upvotes: -1

cwallenpoole
cwallenpoole

Reputation: 82028

I believe it is the antiAliasType property in conjunction with the sharpness property.

Upvotes: 1

Related Questions