> Unfortunately I believe the rule is
that the constructor of the class has to have the same visibility as the class
itself. I think the rule we ended up with is that
constructors must be public, rather than matching the access specifier of their
class. - Gordon From: 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
|
- [flexcoders] AS3 class constructors can't be private? Ab... Carlos Rovira
- 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... Carlos Rovira
- Re: [flexcoders] AS3 class constructors can... Johannes Nel
- RE: [flexcoders] AS3 class constructors can't b... Matt Chotin
- RE: [flexcoders] AS3 class constructors can... Gordon Smith
- Re: [flexcoders] AS3 class constructors can... Johannes Nel
- Re: [flexcoders] AS3 class constructors... Michael Hansen
- Re: [flexcoders] AS3 class constru... Johannes Nel
- Re: [flexcoders] AS3 class constructors... Carlos Rovira
- RE: [flexcoders] AS3 class constru... Matt Chotin
- RE: [flexcoders] AS3 class con... Geoffrey Williams
- RE: [flexcoders] AS3 class constructors... Roger Gonzalez
- Re: [flexcoders] AS3 class constru... Carlos Rovira
- Re: [flexcoders] AS3 class con... Jens Halm
- Re: [flexcoders] AS3 class... Carlos Rovira