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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access