O'Reilly logo

Learning ActionScript 2.0 for Macromedia® Flash® 8 by Peter deHaan, Jen deHaan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6. Functions and Methods

Understanding functions is important when you’re writing ActionScript, creating classes, and using methods. There are several different kinds of functions that you’ll work with. In this chapter, you learn about functions and methods: how to use them in your applications when you use built-in classes, and how to write them. In Chapter 7, “Classes,” you’ll create custom classes in which you’ll write functions regularly. You’ll also learn how to write functions in ActionScript class files.

You can use functions in your code to add interactivity, animations, and other effects to your applications. This chapter covers the kinds of functions that you can write in your Flash applications. For information on what functions ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required