Property value
advanced
customThicknessSharpness
Example
The following example shows how you can use the
specify the sharpness and thickness of the text:
fl.getDocumentDOM().setElementProperty("fontRenderingMode",
"customThicknessSharpness");
fl.getDocumentDOM().setElementProperty("antiAliasSharpness", 400);
fl.getDocumentDOM().setElementProperty("antiAliasThickness", -200);
See also
text.antiAliasSharpness
text.getTextAttr()
Availability
Flash MX 2004.
Usage
text.getTextAttr(attrName [, startIndex [, endIndex]])
Parameters
A string that specifies the name of the TextAttrs object property to be returned.
attrName
For a list of possible values for
An integer that is the index of first character. This parameter is optional.
startIndex
An integer that specifies the end of the range of text, which starts with
endIndex
and goes up to, but does not include,
startIndex
Returns
The value of the attribute specified in the
How text is rendered
Renders text using the FlashType font rendering technology
implemented in Flash 8, which produces better anti-aliasing
and improves readability, especially for small text.
Lets you specify custom settings for the sharpness and
thickness of the text when using the FlashType font rendering
technology implemented in Flash 8.
,
text.antiAliasThickness
, see
attrName
attrName
customThicknessSharpness
Property summary for the TextAttrs
. This parameter is optional.
endIndex
parameter.
value to
object.
Text object
443
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers