8. Creating and Formatting Text with ActionScript

Lesson overview

In this lesson, you will learn to do the following:

• Create a text field with ActionScript using the new TLFTextField class.

• Set TLFTextField properties with ActionScript.

• Use methods and events of the URLLoader class to load text into a TLFTextField instance.

• Use the TextFormat class to control the color, font, and size of a TLFTextField instance.

• Load a MovieClip asset from the library at runtime that contains multiple user interface components that allow the user to format text.

• Create an event listener for a keyboard event to show and hide the loaded movie clip.

• Create a UIScrollBar instance using ActionScript.

• Use ActionScript to hide and show a text field ...

Get ActionScript 3.0 for Adobe Flash Professional CS5 Classroom in a Book 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.