If that's the case, that's a really stupid bit of functionality because you can't completely override a constructor. I was not aware that AS did it that way.

Derek Vadneau wrote:
It happens because the compiler realizes you haven't called super() in your constructor and does it for you.


Derek Vadneau

----- Original Message ----- From: "Petro Bochan" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <flashcoders@chattyfig.figleaf.com>
Sent: Wednesday, January 24, 2007 9:20 AM
Subject: SPAM-LOW: RE: [Flashcoders] AS3 properties woes


Brandon Barkley
Also not an AS3 expert, but I think Danny is wrong. The super function
is necessary to call the parent constructor.

Hi Brandon,

I'm afraid u r wrong. Just try it out, the constructor IS being called
once u extend the class.

Cheers,
Petro


_______________________________________________
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 Training
http://www.figleaf.com
http://training.figleaf.com

_______________________________________________
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 Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to