How are you adding the object? To make something show on the screen it has
to be added to some display list with addChild.
On Wed, Oct 22, 2008 at 8: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?
>
>
>
--
Haykel Ben Jemia
Allmas
Web & RIA Development
http://www.allmas-tn.com