If you don't specify a size or measure() you might be shrunk to 0 size. If updateDL isn't being called, try calling invalidateDisplayList() at some point.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of djhatrick Sent: Wednesday, April 30, 2008 10:36 AM To: [email protected] Subject: [flexcoders] UIComponent - updateDisplayList 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

