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 7. Classes

This chapter introduces you to using and writing classes using ActionScript 2.0. Classes are the backbone of ActionScript 2.0, and are more important than they were in earlier versions of Macromedia Flash. You will learn how important classes are in Flash throughout this chapter.

This chapter begins by explaining some fundamental terminology and how it relates to classes and object-oriented programming (OOP). Next you walk through a sample class file and understand how each section of the class file works and how the class is organized. The rest of the chapter shows you how to create your own custom classes and how to use them within your Flash documents. You learn about the Flash classpath and how a class should be documented ...

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