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

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