I've got a component called ItemContainer that extends UIComponent.
Inside it has a TextArea. I want ItemContainer's height and width to
update to match the height and width of the TextArea when the
TextArea's are changed (I've got a resizer class that lets you drag a
widget to change the width/height of the TextArea). 

What's happening is that the .width and .height of the ItemContainer
are being set properly, but when I do a getBounds on that same
ItemContainer the $height and $width from mx_internal are different.
They are the same values as the previous time they were committed. 

I am not well versed in overriding updateDisplayList or
commitProperties, so I'm wondering what order I need to do things in
to make the internal $height and $width the same (ie, valid). This is
also not an intra-frame ordering issue... the difference between
$height and height persists until I manipulate it again which can be
any number of frames later.

Any thoughts on this would be great.

-b

Reply via email to