>>>2) Have methods which are not attached to specific class instances.
>>
>>That's a bit like static methods no ?
> 
> 
> I was incomplete. I should have said, "Have *bundled* methods which are
> not attached to specific class instances." That is, I want to be able to
> have groups of static methods. Static classes are how this is currently
> accomplished, but if we can't have private constructors, there's no way
> to prevent someone from (pointlessly) instantiating a static class.

Got it.
It's not in AS3, but haXe have both private contructors and the simple
possibility to NOT provide a constructor (in that case the class can't
be instanciated).

Nicolas
_______________________________________________
[email protected]
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