[flexcoders] Re: f2b3 setting width / height as a percentage in AS3
Try percentWidth/percentHeight instead of width/height. --- In flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: Hi, in Flex 1.5 I could write in my actionscript code something like: myUIObject.width = 100%; and it would display just as if I had written: whatever id=myUIObject width=100%/ is there a way to do this in AS3? The compiler isnt too happy with me trying to set width to a string... ta PBH Yahoo! Groups Sponsor ~-- Great things are happening at Yahoo! Groups. See the new email design. http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/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/
Re: [flexcoders] Re: f2b3 setting width / height as a percentage in AS3
lovely thanks for that...On 6/15/06, Jason [EMAIL PROTECTED] wrote: Try percentWidth/percentHeight instead of width/height. --- In flexcoders@yahoogroups.com, Paul BH [EMAIL PROTECTED] wrote: Hi, in Flex 1.5 I could write in my actionscript code something like: myUIObject.width = 100%; and it would display just as if I had written: whatever id=myUIObject width=100%/ is there a way to do this in AS3? The compiler isnt too happy with me trying to set width to a string... ta PBH __._,_.___ -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com SPONSORED LINKS Web site design development Computer software development Software design and development Macromedia flex Software development best practice YAHOO! GROUPS LINKS Visit your group "flexcoders" on the web. To unsubscribe from this group, send an email to:[EMAIL PROTECTED] Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service. __,_._,___