[flexcoders] Re: Percentage based width in ActionScript

2006-12-28 Thread parkerwhirlow
You should be able to assign percentHeight and percentWidth properties
in AS... I do this fairly often.

PW

--- In flexcoders@yahoogroups.com, "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=0518.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?
>




[flexcoders] Re: Percentage based width in ActionScript

2006-12-28 Thread Oscar
 

   Hi Matt,

  I am afraid you misread the livedocs. You should be able to use 
those properties in actioScript.