
182
Working with Text
To view all the font mappings saved on your system and delete font mappings:
1.
Close all documents in Flash.
2.
Select Edit > Font Mapping.
3.
To delete a font mapping, select the mapping and press Delete.
4.
Click OK.
To turn off the Missing Fonts alert, do one of the following:
■
To turn the alert off for the current document, in the Missing Fonts alert box select Don’t
Show Again for This Document, Always Use Substitute Fonts. Select Edit > Font
Mapping to view mapping information for the document again.
■
To turn the alert off for all documents, select Edit > Preferences (Windows) or Flash >
Preferences (Macintosh) and click the Warnings tab. Deselect Warn on Missing Font and
click OK. Select the option again to turn alerts on.
Controlling text with ActionScript
A dynamic or input text field is an instance of the ActionScript TextField object. When you
create a text field, you can assign it an instance name in the Property inspector. You can use
the instance name in ActionScript statements to set, change, and format the text field and its
content using the TextField andTextFormat objects.
The TextField object has the same properties as the MovieClip object, and has methods that
let you set, select, and manipulate the text. The TextFormat object lets you set character and
paragraph values for the text. You can use these ActionScript objects instead of the text
Property inspector to control the settings of a text field.
You can use a text field’s variable name or instance name to assign it text that contains HTML
tags. Flash preserves the rich text formatting applied to the text field with ActionScript.
If you assign a variable to a text field, the text field displays the variable’s value. You can use
ActionScript to pass the variable to other parts of the Flash application, to a server-side
application for storing in a database, and so on. You can also replace the value of the variable
by reading it from a server-side application or by loading it from another part of the Flash
application. For more information on using variables, see “About variables” in
Learning
ActionScript 2.0 in Flash
. For more information about connecting to external applications, see
Chapter 16, “Working with External Data,” in
Learning ActionScript 2.0 in Flash
.
Содержание FLASH 8-FLASH
Страница 1: ...Using Flash ...
Страница 12: ...12 Contents ...
Страница 110: ...110 Using Symbols Instances and Library Assets ...
Страница 128: ...128 Working with Color Strokes and Fills ...
Страница 156: ...156 Drawing ...
Страница 190: ...190 Working with Text ...
Страница 224: ...224 Working with Graphic Objects ...
Страница 270: ...270 Creating Motion ...
Страница 310: ...310 Working with Video ...
Страница 362: ...362 Working with Screens Flash Professional Only ...
Страница 386: ...386 Creating Multilanguage Text ...
Страница 454: ...454 Data Integration Flash Professional Only ...
Страница 500: ...500 Publishing ...
Страница 534: ...534 Creating Accessible Content ...