Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 293
embedding the fonts
When text changes at runtime, you need to embed all the characters of the font
that the text would potentially use to make sure that the text displays properly.
1 Select the first text box named address_txt.
2 In the Character section of the Properties inspector, click the Embed button.
The Font Embedding dialog box appears. You can also choose Text > Font
Embedding to display the dialog box.
3 The font used in the selected text box appears on the left side of the dialog box
(Times New Roman Bold). In the Character ranges section, select Uppercase,
Lowercase, Numerals, and Punctuation. Click OK.
The character ranges that you’ve selected will be embedded in the final SWF
file. Any of the characters in those ranges will display properly in your final
Flash movie.
4 Select the first linked text box named description_txt.
5 In the Character section of the Properties inspector, click the Embed button.
The Font Embedding dialog box appears. The Numerals for Character range
should already be selected since you embedded those characters for the
mortgage calculator.
284
Lesson 7
Using Text