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