Someone's probably beaten me to this but, use percentWidth instead.
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
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 coe
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 unrelate
3 matches
Mail list logo