The property _scalex doesn't exist, use _xscale

Pablo Rodríguez a écrit :
> Using the following script, I have tried to scale an .edittext wrapped
> around a .sprite:
>
> .flash filename="sprite.swf"
> .font roman "/usr/share/fonts/TTF/FreeSansBold.ttf"
> .edittext helloworld font=roman width=160 height=100 color=red
> variable="hi.hell"
>
> .sprite hi
>     .put helloworld
> .end
>
> .put hi
>     .action:
>     hi.hell= "hello";
>     hi._width=5;
>     .end
> .end
>
> Scaling only works with ._width and ._height, but it doesn't seem to
> work with ._scalex and ._scaley. At least, replacing hi.width=5 with
> hi._scalex=5 in the script doesn't scale hi.
>
> Am I doing something wrong?
>
> Thanks,
>
>
> Pablo
>
>
>
>
>   



_________________________________________________________________
Caroline vient de mettre à jour son profil Messenger ! Connectez-vous !
http://login.live.com/login.srf?wa=wsignin1.0&rpsnv=10&ct=1198837564&rver=4.0.1534.0&wp=MBI&wreply=http:%2F%2Fhome.services.spaces.live.com%2F&lc=1036&id=73625

Reply via email to