You should be able to assign percentHeight and percentWidth properties in AS... I do this fairly often.
PW --- In [email protected], "Matt Maher" <[EMAIL PROTECTED]> wrote: > > Yikes, I am creating a component in ActionScript and adding an HBOX to > it as a child. I want that hbox to fill 90% of the width of "this". > > I see on this page > http://livedocs.macromedia.com/flex/2/docs/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00000518.html > > a comment about "percentHeight, percentWidth In MXML tags only..." > > Come on, really? This seems a very troubling shortcoming. I just know > one of you gurus has figured out a simple fix for this, right? >

