Summary


The Singleton design pattern is a simple yet effective solution for restricting a class to one instance and providing a global access point to it. In this chapter, you learned how to implement this design pattern using ActionScript 3.0. You also learned the importance of the Singleton pattern over simply using static members.




Advanced ActionScript 3 with Design Patterns
Advanced ActionScript 3 with Design Patterns
ISBN: 0321426568
EAN: 2147483647
Year: 2004
Pages: 132

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net