
438
EXTENDING FLASH CS4 PROFESSIONAL
Text object
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
Kommentare zu diesen Handbüchern