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 > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Fair play? Video games influencing politics. Click and talk back! http://us.click.yahoo.com/T8sf5C/tzNLAA/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/

