Substituting Missing Fonts - MACROMEDIA FLASH 8-USING FLASH Use Manual

Using flash
Table of Contents

Advertisement

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
The text is rendered in bold if you select the Render Text as HTML option in the
Property inspector, or if the
txt = "<b>Chris</b>";
In the following example, the variable name of the text field is also
of the
property of the TextField object is set to
html
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 aren't 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).
Substituting missing fonts while editing a Flash document does not change the fonts
that are specified in the Flash document.
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.
If the document contains many missing fonts, a delay may occur while Flash generates
the list of missing fonts.
180
Working with Text
property is set to
html
:
true
. Because the value
txt
, you can use the variable name
true
.
txt

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents