Adobe Flash Professional CS6 Adobe Flash Professional CS6 Classroom In A Book | Page 288
Device Fonts
Use device fonts as an alternative to embedding fonts. Device fonts are three
generic options grouped at the top of the Character Family pull-down menu. You
can also choose the Use device fonts option from the Anti-alias pull-down menu.
The three device fonts are _sans, _serif, and _typewriter. These options find and use
the fonts on a user’s computer that most closely resemble the specified device font.
When you use device fonts, you don’t have to worry about embedding fonts, and
you can be assured that your viewer sees text that is similar to the text you see in
the authoring environment.
naming the text boxes
For Flash to control what text to display in a text box or to know what has been
entered in an Editable text box, the text box must be given an instance name in the
Properties inspector. Just as you named button instances in Lesson 6, “Creating
Interactive Navigation,” naming text boxes on the Stage allows ActionScript to
identify them. The same naming rules apply for text boxes as they do for buttons.
1 Select the first Editable text box next to Rate.
2 In the Properties inspector, enter rate_txt for the instance name.
The suffix _txt is the convention for text boxes.
Adobe FLAsh ProFessionAL Cs6 CLAssroom in A book
279