Text object
439
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
text.accName
Availability
Flash MX 2004.
Usage
text.accName
Description
Property; a string that is equivalent to the Name field in the Accessibility panel. Screen readers
identify objects by reading the name aloud. This property cannot be used with dynamic text.
Example
The following example retrieves the name of the object:
var theName =
fl.getDocumentDOM().getTimeline().layers[0].frames[0].elements[0].accNam
e;
The following example sets the name of the currently selected object:
fl.getDocumentDOM().selection[0].accName = "Home Button";
Содержание FLASH 8-EXTENDING FLASH
Страница 1: ...Extending Flash...
Страница 38: ...38 Top Level Functions and Methods...
Страница 532: ...532 Objects...
Страница 554: ...554 C Level Extensibility...