I would say looking at the source, if width and height WERE bindable there would be issues with measurments and such(timming).
Using the resize event is perfect in an event based system. Stick with it. ;-)
Peace, Mike
On 5/25/06, David Clark <[EMAIL PROTECTED]> wrote:
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
What goes up, does come down.
--
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
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

