Hello,

I have a little question that seems obvious but on which I pull my hair off my
head: Does anybody know how to deform a TextField instance?

I tried the basics:

   var txt:TextField = new TextField();
   txt.text = "TEST DE DEFORMATION";
   txt.scaleX = 20;
   addChild(txt);

And:

   var s:Sprite = new Sprite();
   addChild(s);
   var txt:TextField = new TextField();
   txt.text = "TEST DE DEFORMATION";
   s.addChild(txt);
   s.scaleX = 20;

But nothing happens... Well the TextField is indeed resized but not the
containing text.

By doing the same thing with scaleY, the text is scale along BOTH Y (good) and X
(bad).

Any idea how to achieve this?

Kind regards,
____________
Florent JEAN
French Flash Developer
http://www.nowhen.net

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to