Chapter 9. Interfaces

In object-oriented programming (OOP), an interface is a document that lets you declare (but not define) the methods that must appear within a class. When you work in teams of developers, or build larger applications in Flash, interfaces can be very beneficial during development. Interfaces allow developers to easily identify the base methods in ActionScript classes. These methods must be implemented when developers use each interface.

This chapter walks you through a few sample interfaces, and by the end of the chapter you are able to build your own interface files. If you are not familiar with building classes, make sure that you read Chapter 7, “Classes,” before you try the tutorials and examples in this chapter.

For more ...

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.