, 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
-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
, 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
--- 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
4 matches
Mail list logo