Chapter 4. Creating ActionScript in External Files

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

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

<objective>

Create an ActionScript file using the tools in Flash CS4.

</objective>
<objective>

Create an ActionScript class that extends the MovieClip class.

</objective>
<objective>

Create a constructor function.

</objective>
<objective>

Add methods and properties to a class file.

</objective>
<objective>

Define parameters for class methods.

</objective>
<objective>

Use ActionScript code to create vector shapes.

</objective>
<objective>

Use code to create instances of a custom class file in the Flash timeline.

</objective>
<objective>

Use the MOUSE_MOVE event.

</objective>
<objective>

Turn off an event listener.

</objective> ...

Get ActionScript® 3.0 for Adobe® Flash® CS4 Professional 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.