Why do not you extend IUIComponent instead? On Wed, Oct 22, 2008 at 9:28 PM, tchredeemed <[EMAIL PROTECTED]> wrote:
> public class MyClass { > public function MyClass(){ > var drawingComponent:UIComponent = new UIComponent(); > // draw on the drawingComponent; > } > } > > If I have that, and I do (in my flex) new MyClass() and add it to the > mxml, it doesn't show up with what I draw on drawingComponent. > > How do I add the drawingComponent to the class, so that it will show up? > > > -- Fotis Chatzinikos, Ph.D. Founder, Phinnovation [EMAIL PROTECTED],