The scope of this book precludes an in-depth discussion of the following topics. You are encouraged to pursue them using the external sources listed.
You may have noticed that you have learned how to create methods and properties, but not event handlers or listener events. ActionScript does not provide a documented means of defining custom events for a class. However, the undocumented ASBroadcaster provides internal support for custom events. For details, see:
Branden Hall has also developed a custom event engine known as FLEM. See:
Once you've learned the syntax and methodology of object-oriented programming, you'll eventually realize that the challenging part is not the technical implementation but the design of the classes used to represent any given application. In the OOP world, consistent designs for similar problems have arisen and been dubbed "design patterns." Though there is little design pattern documentation available that specifically addresses ActionScript, design patterns are intended to be applied to any OOP-based language. For the adventurous ActionScripter willing to learn a little Java and/or C++, the following books are recommended:
Typically, design patterns are charted with a special diagram language known as UML (Unified Modeling Language). UML is a standard for depicting class hierarchies visually. For information, see: