You have to simulate private constructors
by having the constructor take a class that is inaccessible to other classes
(namely putting that class in the same file as the singleton outside of the
package block). Unfortunately I believe the rule is that the constructor of
the class has to have the same visibility as the class itself. So public
classes need public constructors, internal classes get internal constructors,
etc. Matt From: abstract classes i am not
expecting, private constructers i certainly hope for On 2/9/06, Carlos
Rovira <[EMAIL PROTECTED]
> wrote: Hi, SPONSORED
LINKS
YAHOO!
GROUPS LINKS
|
- RE: [flexcoders] AS3 class constructors can't be private... Matt Chotin
- RE: [flexcoders] AS3 class constructors can't be pr... Gordon Smith
- Re: [flexcoders] AS3 class constructors can't be pr... Johannes Nel
- Re: [flexcoders] AS3 class constructors can't b... Michael Hansen
- Re: [flexcoders] AS3 class constructors can... Johannes Nel
- Re: [flexcoders] AS3 class constructors can't b... Carlos Rovira
- RE: [flexcoders] AS3 class constructors can... Matt Chotin
- RE: [flexcoders] AS3 class constructors... Geoffrey Williams
- RE: [flexcoders] AS3 class constructors can't b... Roger Gonzalez
- Re: [flexcoders] AS3 class constructors can... Carlos Rovira