Programming ActionScript 3.0 > Overview of ActionScript Programming > 
Object-Oriented Programming in ActionScript > Classes

http://livedocs.macromedia.com/flex/2/docs/00001842.html

"If the superclass constructor is not explicitly called, the compiler 
automatically inserts a call before the first statement in the constructor 
body."

You can call super() anywhere in your constructor (before or after other 
code), but if you leave it out, super() is called for you.


Derek Vadneau

----- Original Message ----- 
From: "Brandon Barkley" <[EMAIL PROTECTED]>
To: "Flashcoders mailing list" <[email protected]>
Sent: Wednesday, January 24, 2007 10:20 AM
Subject: Re: SPAM-LOW: RE: [Flashcoders] AS3 properties woes


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.



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