Re: [flexcoders] addChild() in constructor?

2006-07-19 Thread JesterXL
PROTECTED]> To: Sent: Wednesday, July 19, 2006 10:31 AM Subject: Re: [flexcoders] addChild() in constructor? Actually, I found this approach in IPE Controls by Ely Greenfield (http://demo.quietlyscheming.com/IPE/). There are classes like this there: package qs.ipeControls { import qs.i

Re: [flexcoders] addChild() in constructor?

2006-07-19 Thread Sergey Kovalyov
Actually, I found this approach in IPE Controls by Ely Greenfield (http://demo.quietlyscheming.com/IPE/). There are classes like this there: package qs.ipeControls { import qs.ipeControls.classes.IPESlider; import mx.controls.HSlider; public class IPEHSlider extends IPESli

Re: [flexcoders] addChild() in constructor?

2006-07-19 Thread JesterXL
More info here: http://www.flex.org/ACDS/BuildingAFlexComponent.pdf - Original Message - From: "Sergey Kovalyov" <[EMAIL PROTECTED]> To: Sent: Wednesday, July 19, 2006 10:01 AM Subject: [flexcoders] addChild() in constructor? As far as I understand, now I can work with sup

[flexcoders] addChild() in constructor?

2006-07-19 Thread Sergey Kovalyov
As far as I understand, now I can work with superclass view directly from constructor of inherited class after super() call? public class A extends Box { function A() { addChild(new TextInput()); // causes exception } } public class B extends A { function B() { super(); addChild(new TextInput(