swftools-common
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Swftools-common] scaling .edittext


From: Pablo Rodríguez
Subject: [Swftools-common] scaling .edittext
Date: Thu, 22 May 2008 08:34:38 +0200
User-agent: Thunderbird 2.0.0.9 (X11/20080213)

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]