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 ...
Get Learning ActionScript 2.0 for Macromedia® Flash® 8 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.