Because the Application sets it. In Flex, all children are sized by their parent.
________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of jkasham Sent: Saturday, May 10, 2008 8:18 PM To: [email protected] Subject: [flexcoders] question on UI Component Class Why must I have to set the width and height of a new Button()when I put it in a UIComponent() class using AS, and dont have to when I put it in the application using AS?

