Yes I am using 1.5 and I found I can set width="100%" and it works but
when I try the same for height="100%" for a VBox it does not all the
components in it are overlapping each other.

Rajesh J

--- In [email protected], "Deepa Subramaniam" <[EMAIL PROTECTED]>
wrote:
>
> Ah, you must be using Flex 1.5? In Flex 1.5 percentWidth/percentHeight
> are read only and you want to do something like:
> 
> myButton.width="100%";
> 
> 
> 
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Rajesh Jayabalan
> Sent: Thursday, October 20, 2005 11:09 AM
> To: [email protected]
> Subject: [flexcoders] Re: % in as
> 
> Hi 
> 
>  I tried that and get an error 
> 
> Type mismatch in assignment statement: found Number where Function is
> required
> 
>  also in the documentation it says its a readonly field
> 
> Regards
> Rajesh J
> --- In [email protected], "Ashish Goyal" <[EMAIL PROTECTED]> wrote:
> >
> > 
> > There is a property called percentWidth for setting percentage width
> in
> > AS.
> > 
> > Component.percentWidth = 100;
> > 
> > Similarly you can use percentHeight to set height in percentage.
> > 
> > -Ashish
> >  
> > 
> > > -----Original Message-----
> > > From: [email protected] 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Jayabalan
> > > Sent: Wednesday, October 19, 2005 5:15 PM
> > > To: [email protected]
> > > Subject: [flexcoders] % in as
> > > 
> > > Hi,
> > > 
> > >  Anyone know how to set width=100% in actionscript method for any
> > > component?
> > > 
> > > Regards
> > > Rajesh J
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > 
> > > ------------------------ Yahoo! Groups Sponsor 
> > > --------------------~--> 
> > > Get Bzzzy! (real tools to help you find a job). Welcome to 
> > > the Sweet Life.
> > > http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
> > > --------------------------------------------------------------
> > > ------~-> 
> > > 
> > > --
> > > Flexcoders Mailing List
> > > FAQ:
> http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> > > Search Archives: 
> > > http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> > > Yahoo! Groups Links
> > > 
> > > 
> > > 
> > >  
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 
> 
> 
> --
> Flexcoders Mailing List
> FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
> Search Archives:
> http://www.mail-archive.com/flexcoders%40yahoogroups.com 
> Yahoo! Groups Links
>






------------------------ Yahoo! Groups Sponsor --------------------~--> 
Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life.
http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 




Reply via email to