--- In [email protected], "luvfotography" <[EMAIL PROTECTED]> 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



Reply via email to