Hi,

This is an "is there a better way" question.

I have an mxml component based on TitleWindow. I create it with CreatePopUp. I want it to take the entire area of its parent, so, I define its height="{ parent.height}" and similarly for the width. This is fine, however height does not seem to be Bindable (perhaps none of these properties are?) So as I want this component to respond by resizing when its parent resizes, I have it listen for the resize event of its parent and change the size in the handler.

This works just fine, but as I said, is there a better way? Seems to me that if the height and width were Bindable then the resize would happen automatically whenever the values change.

Thanks.

--
david
"The difference between theory and practice is that in theory, there is no difference between theory and practice"

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to