EasyManua.ls Logo

MACROMEDIA FLASH 8-USING FLASH - Substituting Missing Fonts

MACROMEDIA FLASH 8-USING FLASH
678 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
180 Working with Text
4. Set the text field variable to a value that includes HTML tags.
For example, the following code assigns a value to a text field with the variable name
txt.
The text is rendered in bold if you select the Render Text as HTML option in the
Property inspector, or if the
html property is set to true:
txt = "<b>Chris</b>";
In the following example, the variable name of the text field is also txt. Because the value
of the
html property of the TextField object is set to true, you can use the variable name
to render the text field in bold without selecting the Render Text as HTML option in the
Property inspector:
myInstanceName.html = true;
txt = "<b>Chris</b>";
Substituting missing fonts
If you work with a document containing fonts that arent installed on your system (for
example, a document you received from another designer), Flash substitutes the missing fonts
with fonts available on your system. You can select which fonts on your system are substituted
for the missing fonts, or you can let Flash substitute missing fonts with the Flash System
Default Font (specified in General Preferences).
If you install a previously missing font on your system and restart Flash, the font is displayed
in any documents using the font, and the font is removed from the Missing Fonts dialog box.
Selecting substitute fonts
An alert box indicating missing fonts in a document appears the first time a scene containing
a missing font is displayed on the Stage. If you publish or export the document without
displaying any scenes that contain the missing fonts, the alert box appears during the publish
or export operation. If you choose to select substitute fonts, the Font Mapping dialog box
appears, listing all missing fonts in the document and letting you select a substitute for each.
NOTE
Substituting missing fonts while editing a Flash document does not change the fonts
that are specified in the Flash document.
NOTE
If the document contains many missing fonts, a delay may occur while Flash generates
the list of missing fonts.

Table of Contents

Related product manuals