Try percentWidth/percentHeight instead of width/height. --- In [email protected], "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/

