• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint

Chapter 18. Controlling Text

by Darrel Plant

In this chapter

Creating Dynamic and Input Text Fields

Using String Variables

Troubleshooting Text

Did You Know?

An important element of most movies is text. Text is an efficient, compact, and relatively unambiguous way to convey information. Although a picture may be worth a thousand words, if it's misinterpreted, it might be the wrong thousand words.

You can use static text fields (see Chapter 2, "Creating Artwork and Text with Flash") when the message doesn't change, but in cases when you can't predict exactly what information you need to show users, you need to use strings.

A string is an ActionScript data type that stores text information. String values can be modified by ActionScript commands by using string operators, functions, and constants.

Strings can be visible on the stage, or they can work behind the scenes, living only in the computer's memory.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint