Adjusting the outside and inside cutoff values affects stroke weight and edge sharpness. The
spacing between these two parameters is comparable to twice the filter radius of classic anti-
aliasing methods; a narrow spacing provides a sharper edge, while a wider spacing provides a
softer, more filtered edge. When the spacing is 0, the resulting density image is a bilevel
bitmap. When the spacing is very wide, the resulting density image has a watercolor-like edge.
Typically, users prefer sharp, high contrast edges at small point sizes and softer edges for
animated text and larger point sizes.
The outside cutoff typically has a negative value, the inside cutoff has a positive value, and
their midpoint lies near 0. Adjusting these parameters to shift the midpoint toward negative
infinity increases the stroke weight; shifting the midpoint toward positive infinity decreases
the stroke weight.
The outside cutoff should always be less than or equal to the inside cutoff.
Flash Player includes advanced anti-aliasing settings for ten basic fonts; and for these fonts,
advanced anti-aliasing settings are provided only for the font sizes from 6 to 20. For these
fonts, all sizes below 6 use the settings for 6, and all sizes above 20 use the settings for 20.
Other fonts map to the supplied font data. The
lets you set custom anti-aliasing data for other fonts and font sizes, or to override the default
settings for the provided fonts. For more information on creating an anti-aliasing table, see
the following example:
To create an advanced anti-aliasing table for an embedded font:
1.
Create a new Flash document and save it as advancedaatable.fla.
2.
Select New Font from the Library panel pop-up menu.
3.
Select Arial from the Font pop-up menu, and then set the font size to 32 points.
4.
Select both the Bold and Italics options.
5.
Enter the font name Arial (embedded) in the Name text box and click OK.
6.
Right-click (Windows) or Control-click (Macintosh) the font symbol in the library, and
select Linkage.
7.
In the Linkage Properties dialog box:
a.
Type Arial-embedded in the Identifier text box.
b.
Select Export for ActionScript and Export in First Frame.
c.
Click OK.
412
Working with Text and Strings
setAdvancedAntialiasingTable()
method
Need help?
Do you have a question about the FLASH 8-LEARNING ACTIONSCRIPT 2.0 IN FLASH and is the answer not in the manual?