• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 7. Classes

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 so that other people who read or use your code can easily understand the code and the class’s overall purpose.


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint