User Guide

33
3
CHAPTER 3
Working with Text and Fonts
This chapter describes how you can add static and dynamic text fields and add input text
fields to your Macromedia Flash Lite applications.
This chapter contains the following topics:
About text in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
Creating and formatting text . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34
Using input text fields . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .35
Font rendering methods in Flash Lite . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 38
Text field example application (Flash Professional only). . . . . . . . . . . . . . . . . . . . . . . 42
Creating scrolling text (Flash Professional only) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44
About text in Flash Lite
Flash Lite 2.0 supports the following text features:
Static, dynamic, and input text fields
A static text field’s contents cant change at runtime; a dynamic or input text fields
contents can be changed at runtime. Input text fields also allow users to enter text input
using the devices generic text input mechanism. (Inline text input is not supported in
Flash Lite 2.0. For more information about input text fields, see “Using input text fields
on page 35.)
Embedded and device fonts
You can choose to have Flash Lite render text fields using font outlines that you embed in
the SWF file, or using fonts available on the device. For more information about font
rendering methods, see “Font rendering methods in Flash Lite” on page 38.
Unicode text encoding
Flash Lite can display text in any language as long as fonts containing the required
character glyphs are available. For information on multilanguage authoring in Flash, see
“Creating Multilanguage Text” in Using Flash.