percentHeight and percentWidth work in actionscript code...

the document you reference says:

"In ActionScript, you use the height and width properties to specify the
dimensions in pixels, and use the percentHeight and percentWidth properties
to specify the dimensions as a percentage of the parent container."


Brendan



On 12/28/06, 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?

Reply via email to