Chapter 7. Text

ONE OF THE most valuable design features in Flash is the ability to embed any font in a SWF file and have it render the same on any platform. Flash also lets you display dynamic text as an embedded font, embed and format fonts dynamically, and apply text-field listeners to trigger events based on specific user interactions.

In this chapter you will learn how to embed fonts, dynamically create and format text fields, and replace ActionScript 2 text-field callback-function properties with the new text events available in ActionScript 3.

Font Usage

With the embed feature, Flash lets you use any font from your computer on the Web. When a font is embedded, end users do not need to have the font on their system to see the result. The extent ...

Get The ActionScript™ 3.0 Migration Guide: Making the Move from ActionScript 2.0 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.