Yep, with "percentHeight" On Tue, Mar 25, 2008 at 4:51 PM, arieljake <[EMAIL PROTECTED]> wrote:
> Along these lines, can a resize effect with property "heightTo" be > given a percent height? > > --- In [email protected], "westlandc" <[EMAIL PROTECTED]> wrote: > > > > --- In [email protected], "luvfotography" <ygroups@> wrote: > > > > > > How do I set the width to 100% using actionscript?? > > > It only allows a number - not a string!?! > > > > > > > > > var newcanvas:Canvas = new Canvas(); > > > > > > newcanvas.width = "100%"; > > > > > > > > > 1067: Implicit coercion of a value of type String to an unrelated type > > > Number. > > > > > > > Use percentWidth > > > > > > ------------------------------------ > > -- > Flexcoders Mailing List > FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt > Search Archives: > http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups > Links > > > >

