2. Working with Events and Functions

Lesson overview

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

• Use code snippets to create ActionScript that navigates the Flash Timeline in response to button clicks.

• Add code to a function created by a code snippet.

• Write event listeners to listen for mouse events.

• Write event-handling functions that respond to mouse events.

• Combine strings of text with variable values to populate a text field.

• Create and call a function that sets the language in a text field.

• Use buttons to change the value of a variable.

This lesson will take approximately 2 hours.

image

In the previous lesson, you created ...

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.