Working with text

In ActionScript 3.0, text is usually displayed within a text field, but can occasionally appear as a property of an item on the display list (for example, as the label on a UI component). This chapter explains how to work with the script-defined contents of a text field and with user input, dynamic text from a remote file, or static text defined in Adobe Flash CS3 Professional. As an ActionScript 3.0 programmer, you can establish specific content for text fields, or designate the source for the text, and then set the appearance of that text using styles and formats. You can also respond to user events as the user inputs text or clicks a hyperlink.

Contents

Basics of working with text
Displaying text
Selecting and manipulating text
Capturing text input
Restricting text input
Formatting text
Advanced text rendering
Working with static text
Example: Newspaper-style text formatting

Flash CS3


 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/flash/9.0/main/00000218.html