That's a part of OO design. What's the point of extension if the parent
constructor isn't called? You merely write your override logic in your
child's constructor, anyhow.

-Scott

On 1/24/07, Brandon Barkley <[EMAIL PROTECTED]> wrote:

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

_______________________________________________
[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




--

: : ) Scott
_______________________________________________
[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