RE: [flexcoders] Re: Singleton not usable?

2006-04-17 Thread Francis Cheng
, April 14, 2006 11:57 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Singleton not usable? This a modified version of Jeff Tapper's singleton DataManager class for AS3 web service calls. Francis, note the private class constuctor at the bottom. Sorry about the jagged alignment

RE: [flexcoders] Re: Singleton not usable?

2006-04-16 Thread Matt Chotin
-Original Message- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of crnet_flex Sent: Friday, April 14, 2006 3:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Singleton not usable? --- In flexcoders@yahoogroups.com, Sonja Duijvesteijn [EMAIL PROTECTED

[flexcoders] Re: Singleton not usable?

2006-04-15 Thread turbo_vb
, April 14, 2006 3:19 PM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: Singleton not usable? Hi Have anyone tried using a construction like the following? public class Singleton { public static const Instance:Singleton = new Singleton(); function

[flexcoders] Re: Singleton not usable?

2006-04-14 Thread crnet_flex
--- In flexcoders@yahoogroups.com, Sonja Duijvesteijn [EMAIL PROTECTED] wrote: Hi all, I'm trying to make a singleton class as demonstrated below, but get the error: a constructor may only be declared 'public'. Well, that error is clear, the reason for it is not however. Isn't it