O'Reilly logo

ActionScript 3.0: Visual QuickStart Guide by Derrick Ypenburg

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 7. Communication and Events

Communications in ActionScript is completely event driven. The ActionScript 3 event model allows class objects to be completely encapsulated. Encapsulation means that class objects take care of themselves internally and are not concerned with how any other class objects function. They do their job and keep their heads down. When objects do need to communicate with the outside world, they dispatch events. Listeners are registered with objects to listen for dispatched events, and they act accordingly.

Events are triggered in many ways depending on the class. The process of handling them, however, is standardized throughout the ActionScript API. In this chapter, you will become familiarized with the ActionScript ...

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