|
From: | raphael benzazon |
Subject: | Re: [Swftools-common] scaling .edittext |
Date: | Thu, 22 May 2008 09:27:41 +0000 |
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 > > > > > Tous vos amis discutent sur Messenger, et vous ? Téléchargez Messenger, c'est gratuit ! |
[Prev in Thread] | Current Thread | [Next in Thread] |