percentHeight is probably what you want, but another way to achieve 100% height 
is so set top=0 and bottom=0. This is the natural way to achieve 100% in the 
design mode of Flex Builder.

--- In flexcoders@yahoogroups.com, coder3 <rrhu...@...> wrote:
>
> 
> Hi All
> 
> I create an object as Grid, and i need to set the height to 100%. how to do
> it in script?
> 
> for example:
> 
> var grid:Grid = new Grid();
> 
> for(..)
> {
>   var gridrow:GridRow = new GridRow();
>   ::::
>   grid.addChild(gridrow);
> }
> 
> //now how to set grid.height = 100% instead of grid.height=222???
> 
> 
> -- 
> View this message in context: 
> http://www.nabble.com/how-to-set-a-layout-object%27s-height-to-100---tp24386393p24386393.html
> Sent from the FlexCoders mailing list archive at Nabble.com.
>


Reply via email to