That's correct. The UIComponent width/height model is more like the standard UI models. As such, it is not directly tied to the underlying Flash transforms. If you read up on how to create custom components, you'll see that you should be doing your drawing in updateDisplayList if you need to respond to size changes.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of dsds99 Sent: Tuesday, February 19, 2008 5:09 AM To: [email protected] Subject: [flexcoders] The width change works in Flash CS3 but not in Flex // ActionScript file package{ import mx.core.UIComponent; public class Tint extends UIComponent{ public function Tint():void{ graphics.beginFill(0x9fe9c9,1); graphics.drawRect(0,0,100,100); width=300; } } }

