You will see the string "helo wrd". Instead of having to tell Flash which characters you
want to include, Flash can determine all unique characters in the specified text field
for you.
Flash can determine characters to embed automatically only if the text field contains
text on the Stage. If the text field is populated by using ActionScript, you must
specify which characters you want to embed for the text field.
11.
Click OK.
Embedding fonts
When you embed fonts, Flash stores all of the font information in the SWF file so the font is
displayed properly even if it's not installed on the user's computer. If you use a font in your
FLA file that isn't installed on a user's system, and you don't embed the font in the SWF file,
Flash Player automatically selects a substitute font to use instead.
You need to embed a font only if you're using dynamic or input text fields. If you use a
static text field, you don't need to embed the font.
To embed a font symbol:
1.
Select Window > Library to open the current FLA file's library.
Open the library that you want to add the font symbol to.
2.
Select New Font from the library's pop-up menu (upper-right corner of the Library panel).
3.
Type a name for the font symbol in the Name text box of the Font Symbol Properties
dialog box.
4.
Select a font from the Font menu or type the name of a font in the Font text box.
5.
Select Bold, Italic, or Alias text if you want to apply a style to the font.
6.
Enter the font size to embed, and then click OK to apply the changes and return to
your document.
Your font now appears in the current document's library.
After you've embedded a font in your library, you can use it with a text field on the Stage.
To use an embedded font symbol in your Flash document:
1.
Follow the steps in the procedure under
in your library.
2.
Use the Text tool to create a text field on the Stage.
3.
Type some text in the text field.
400
Working with Text and Strings
"Embedding fonts" on page 400
to embed a font
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?