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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.