CHAPTER 9THE BUILDING BLOCKS OF INTERACTIVITY

image

In this chapter we will take a closer look at properties, methods, and events—the three primary elements used to define how classes live and breathe in a programming world.

In ActionScript, all executable information is managed into classes that are used as templates to create objects or instances of that class. You can think of the concept of instantiation as a Xerox copy machine. The class is the original document that is placed on the glass and copied. The objects are the copies that are made. Therefore, if the Xerox machine were making copies of a document, such as a job application, you could ...

Get The Essential Guide to Flash CS4 with ActionScript 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.