Embedding font outlines in SWF files
To render a text field's font, Flash Lite can either use fonts that are available on the device or
use font outlines that are embedded in the published SWF file (see
in Flash Lite" on page
field's font appears the same on all target platforms, but results in larger file size. Flash Lite
requires font outlines to render either bitmap (no anti-alias) or anti-aliased text.
For static text fields that use the anti-alias or bitmap font rendering methods, Flash
automatically embeds the font outlines required to display the text field's contents. For
example, if a static text field contains the word Submit, Flash automatically embeds the font
outlines required to display those six characters (S, u, b, m, i, and t). Because the contents of a
static text field can't change, the SWF file needs to include font outlines only for those
characters.
For dynamic and input text fields that use the anti-alias or bitmap font rendering methods,
you must specify the characters whose font outlines you want to embed in the published SWF
file. The contents of those types of text fields can change during playback; consequently, Flash
can't assume which font outlines need to be available. You can include font outlines for all
characters in the selected font, a range of characters, or specific characters. You use the
Character Embedding dialog box to specify which characters you want to embed in the
published SWF file.
To embed font outlines for a dynamic or input text field:
1.
Select the dynamic or input text field on the Stage.
2.
In the Property inspector, select Bitmap (No Anti-Alias) or Anti-Alias for Animation from
the Font Rendering Method pop-up menu.
38). Embedding font outlines in the SWF file ensures that the text
"Font rendering methods
Font rendering methods in Flash Lite
41
Need help?
Do you have a question about the FLASH 8-DEVELOPING FLASH LITE 2.X and is the answer not in the manual?
Questions and answers