It does seem kind of weird, but then several things about AS3 are weird. - Gordon
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Manish Jethani Sent: Thursday, June 28, 2007 12:09 PM To: [email protected] Subject: Re: [flexcomponents] as3 inheritance query On 6/28/07, Gordon Smith <[EMAIL PROTECTED] <mailto:gosmith%40adobe.com> > wrote: > BTW, the implicit super() is inserted at the beginning of the constructor. > If you want it called later, you can explicitly write > public function ClassA() > { > trace("classA constructor"); > super(); > } This is a bit weird. In Java there's a rule that the super() call *must* be the first statement in the constructor. And that makes sense.
