you have to use percentWidth

On Tue, Mar 25, 2008 at 1:43 PM, 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.
>
>  
>



-- 
http://grumpee.instantspot.com/blog

Reply via email to