I have singletons with extensions.

class myClass extends superClass {
        private static var _instance;
      function myClass() {
                // do constructor stuff
        }
        public function get instance() {
                if (!_instance) return new myClass();
                return _instance;
        }
}

Or do you mean the superClass is a singleton?

_______________________________________________
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to