beautypg.com

Text.antialiassharpness, Text.antialiasthickness – Adobe Extending Flash Professional CS5 User Manual

Page 459

background image

437

EXTENDING FLASH PROFESSIONAL

Text object

Last updated 5/2/2011

var doc = fl.getDocumentDOM();

var theName = doc.selection[0].accName;

The following example sets the name of the currently selected object:

fl.getDocumentDOM().selection[0].accName = "Home Button";

text.antiAliasSharpness

Availability
Flash 8.

Usage

text.antiAliasSharpness

Description
Property; a float value that specifies the anti-aliasing sharpness of the text. This property controls how crisply the text
is drawn; higher values specify sharper (or crisper) text. A value of 0 specifies normal sharpness. This property is
available only if

text.fontRenderingMode

is set to

customThicknessSharpness

.

Example
See

text.fontRenderingMode

.

See also

text.antiAliasThickness

,

text.fontRenderingMode

text.antiAliasThickness

Availability
Flash 8.

Usage

text.antiAliasThickness

Description
Property; a float value that specifies the anti-aliasing thickness of the text. This property controls how thickly the text
is drawn, with higher values specifying thicker text. A value of 0 specifies normal thickness. This property is available
only if

text.fontRenderingMode

is set to

customThicknessSharpness

.

Example
See

text.fontRenderingMode

.

See also

text.antiAliasSharpness

,

text.fontRenderingMode

This manual is related to the following products: