Tag Archive 'actionscript'

Jul 27 2008

Singleton Classes in Actionscript 3.0

Published by abesh under Software,Technical

Singleton Classes are based on the Singleton Design Pattern and have a single instance of the class throughout the application. When would one need a singleton class ? A simple example would be a database manager class which would instantiate a connection to the database at the application initialization and have methods for data manipulation of the database tables. In such a case multiple instances of this class is not required and will end up consuming memory and other issues.

How does one implement a Singleton Class ?

Continue Reading »

Share and Enjoy:
  • Add to favorites
  • Print
  • email
  • PDF
  • Twitter
  • FriendFeed
  • Digg
  • del.icio.us
  • Facebook
  • Mixx
  • Google Bookmarks
  • Diigo
  • Identi.ca
  • IndianPad
  • LinkedIn
  • Live
  • MySpace
  • Netvibes
  • Ping.fm
  • Reddit
  • Slashdot
  • StumbleUpon
  • Technorati
  • Tumblr
  • Suggest to Techmeme via Twitter
  • Yahoo! Bookmarks
  • Yahoo! Buzz

View Comments

  • SCN

  • Tags

  • Archives

  • Categories

  • Subscribe

  • WWW

  • Creative Commons License
    This work by Abesh Bhattacharjee is licensed under a Creative Commons Attribution-Share Alike 2.5 India License.