Publishers of technology books, eBooks, and videos for creative people

Home > Articles

  • Print
  • + Share This
From the author of

Summary

Throughout this article, several examples of inter-object communication were examined, beginning with an example from the Loan class, where a message was explicitly passed from one object to another. Next, the topic of events was explored, and we were able to see how events and event handlers are essential to OOP.

The event handling framework of Flash components is another means for objects to communicate. In addition, the AsBroadcaster class can always be used to enable any object within Flash to broadcast its messages to any other object.

In much the same way that messages enabled the development of GUIs, the same style of message can ease the development of rich, intuitive, object-oriented Flash MX 2004 applications.

  • + Share This
  • 🔖 Save To Your Account