Chapter 2. Working with Events and Functions

<feature><title>Lesson overview</title>

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

<objective>

Use event listeners to listen for mouse events.

</objective>
<objective>

Write event handling functions that respond to mouse events.

</objective>
<objective>

Navigate the Flash Timeline in response to button clicks.

</objective>
<objective>

Open a URL in a browser using ActionScript triggered by a button click.

</objective>
<objective>

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

</objective>
<objective>

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

</objective>
<objective>

Use buttons to change the value of a variable.

</objective>
</feature>

This lesson will take ...

Get ActionScript® 3.0 for Adobe® Flash® CS4 Professional Classroom in a Book® now with O’Reilly online learning.

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