$width and $height are the original flash.display.DisplayObject.width and 
height which are overridden by Flex.  The DisplayObject version show the 
bounding box around all drawn pixels in the object, the Flex version shows you 
the component's size according to the layout rules.  They can be different 
especially for scrolling content.

From: [email protected] [mailto:[email protected]] On Behalf 
Of flexaustin
Sent: Thursday, January 08, 2009 9:15 AM
To: [email protected]
Subject: [flexcoders] Dumb question; $inherited variables


When running in debug mode. I have a component and when I look at the
variables or properties in the variables panel I see a "[inherited]"
set of variables and in there $width = 800; and $height= 1200; but if
I look at the variables without the $ so width & height I see
width=694 and height=694.

What are the variables/properties with "$". Why are they different?

Reply via email to