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

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