> Where can I find the source code of HaXe written in HaXe itself. I think
> is one of the important milestones for a compiler, the possibility to
> compile the compiler with itselves :)
Not always.
The AS3 compiler is not written in AS3.
Haxe is using OCaml which is IMHO the best language to wr
>>>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 method
as
package
{
public function HelloWorld()
{
trace("Hello, World!");
}
}
// test.fla
HelloWorld();
-Nivesh
QE Lead, Flash | Adobe Systems
--
Message: 5
Date: Wed, 12 Jul 2006 09:16:41 -0700
From: "Mike" <[EMAIL PROTECTED]&
Where can I find the source code of HaXe written in HaXe itself. I think
is one of the important milestones for a compiler, the possibility to
compile the compiler with itselves :)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription optio
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Nicolas
Cannasse
Sent: Wednesday, July 12, 2006 1:16 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Abstract classes in AS3?
>
> Mike Keesey wrote:
> > I don't really care w
Yeah, well I don't need the onion skinning tool either so let's remove
it ;-)
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by F
> I don't really care whether they allow private constructors or not, as
> long as they provide some way of accomplishing the same thing.
> Specifically, I want to be able to:
> 1) Limit the number of instances of certain classes (singletons,
> enumerations).
Did you have a look at haXe enums ?
ht
I don't really care whether they allow private constructors or not, as
long as they provide some way of accomplishing the same thing.
Specifically, I want to be able to:
1) Limit the number of instances of certain classes (singletons,
enumerations).
2) Have methods which are not attached to specifi
006 11:45 AM
> To: 'Flashcoders mailing list'
> Subject: RE: [Flashcoders] Abstract classes in AS3?
>
> That does seem stupid and completely pointless. I use private
> constructors all the time.
>
> Is there an official rationale for this?
> --
> T. Michael Keesey
&g
tructors?
> --
> T. Michael Keesey
>
> -----Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of eka
> Sent: Tuesday, July 11, 2006 11:45 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Abstract clas
eesey
>
> -Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of eka
> Sent: Tuesday, July 11, 2006 11:45 AM
> To: Flashcoders mailing list
> Subject: Re: [Flashcoders] Abstract classes in AS3?
>
> private constructor is not ECMAScript !
&g
ent: Tuesday, July 11, 2006 11:45 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Abstract classes in AS3?
private constructor is not ECMAScript !
to create a Singleton you can use a simple object inherit "internal"
class,
it's more clean :)
links about this subject :
hael Keesey
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Cédric
Néhémie
Sent: Tuesday, July 11, 2006 11:30 AM
To: Flashcoders mailing list
Subject: Re: [Flashcoders] Abstract classes in AS3?
Chris, from the latest AS3 Language Reference
(http://livedocs.macromedia
private constructor is not ECMAScript !
to create a Singleton you can use a simple object inherit "internal" class,
it's more clean :)
links about this subject : http://blog.jasonnussbaum.com/?p=112
french discussion about this subject :
http://groups.google.com/group/FCNG/browse_thread/thread/
: Flashcoders mailing list
Subject: Re: [Flashcoders] Abstract classes in AS3?
Chris, from the latest AS3 Language Reference
(http://livedocs.macromedia.com/flex/2/langref/index.html), in
compile-time errors section :
1153 - A constructor can only be declared public
I don't understand why
Why is it removed?
___
Flashcoders@chattyfig.figleaf.com
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 Tra
Yep,
Just realized you guys were talking AS3. My bad.
-Chris
On 7/11/06, eka <[EMAIL PROTECTED]> wrote:
Hello ;)
In AS3 the private keyword it's removed !! ;) You can't use this keyword for
your constructor :)
EKA+ :)
2006/7/11, Chris Allen <[EMAIL PROTECTED]>:
>
> For compile time checks,
Chris, from the latest AS3 Language Reference
(http://livedocs.macromedia.com/flex/2/langref/index.html), in
compile-time errors section :
1153 - A constructor can only be declared public
I don't understand why Adobe do that ? If somebody have an idea, I'ld be
buyer ?
Chris Allen wrote:
> For c
Hello ;)
In AS3 the private keyword it's removed !! ;) You can't use this keyword for
your constructor :)
EKA+ :)
2006/7/11, Chris Allen <[EMAIL PROTECTED]>:
For compile time checks, just use a private constructor. As
ActionScript allows one to access a private (not really private) super
cons
AS3 doesn't support private constructors.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Chris Allen
Sent: Tuesday, July 11, 2006 2:06 PM
To: Flashcoders mailing list
Subject: Re: Re: [Flashcoders] Abstract classes in AS3?
For compile time checks,
For compile time checks, just use a private constructor. As
ActionScript allows one to access a private (not really private) super
constructor in a subclass this works perfectly. At least this is what
I do when I need an Abstract class in ActionScript.
E.G.
class com.tomsnyder.fasttmath2.student
thanks for the example guys :)
On 7/9/06, Weyert de Boer <[EMAIL PROTECTED]> wrote:
I still think compile-time checks are the best to have... but this will
serve very well. Thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription optio
I still think compile-time checks are the best to have... but this will
serve very well. Thanks.
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Eka you are the fastest :)
eka wrote:
> Hello :)
>
> Try this method :
>
> package
> {
>
>
> import flash.utils.getQualifiedClassName;
> import flash.errors.IllegalOperationError;
>
> class AbstractClass
> {
>public function AbstractClass ()
>{
>var path:String = getQualifiedClassN
Hi everybody,
I'm new to this list (as poster) so thnaks , in advance, for your welcome.
> I am blind or is their no support for Abstract classes in AS3?
>
No you aren't blind, the class constructor must be public, then we can't
guarantee that class can't be instanciate. The same problem occurs w
Nice hack if you aks me. Thanks. Based on this hack I can be sure it's
not supported. Sadly enough.
Oh well, thanks for sharing the hack.
Yours,
Weyert
Hello :)
Try this method :
package
{
import flash.utils.getQualifiedClassName;
import flash.errors.IllegalOperationError;
class AbstractCl
Hello :)
Try this method :
package
{
import flash.utils.getQualifiedClassName;
import flash.errors.IllegalOperationError;
class AbstractClass
{
public function AbstractClass ()
{
var path:String = getQualifiedClassName(this) ;
if( path == "AbstractClass")
{
27 matches
Mail list logo