14. Working with Text and the Keyboard

Working with text and working with the keyboard are skills that all Flash programmers need in their virtual tool belts. In this chapter, you’ll learn how to use ActionScript to work with text fields, format them, and then respond to events from the keyboard. Working with text and the keyboard requires a high level of precision and accuracy. To help decipher all of this, you will use an interactive quiz to display ActionScript-based text and control the selection of answers through the keyboard.

Working with Text Fields

Before you learn how to work with keyboard events, let’s cover the basics of working with text fields with ActionScript. The example for using the keyboard will be with a simple quiz where ...

Get Fundamentals of ActionScript 3.0: Develop and Design 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.