I've created a UIComponent, isn't the this.graphics called
automatically on all UIComponents that are added to the the stage?

code snippet:

                override protected function
updateDisplayList(unscaledWidth:Number,unscaledHeight:Number):void{
                        Debug.out("update DisplayList");
                        super.updateDisplayList(unscaledWidth,unscaledHeight);
                        
                        this.graphics.clear();
                        this.graphics.beginFill(0xFF0000,1);
                        this.graphics.drawRoundRect(0,0,200,100,4,4);
                        this.graphics.endFill();
}

I'm probably doing something wrong here.

Thanks,
Patrick

Reply via email to