On Wed, Jun 18, 2008 at 10:16 AM, <[EMAIL PROTECTED]> wrote: > 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 > [email protected] > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders >
Create an empty movieclip, and add the textfield as it child, and scale the parent movieclip, not the textfield itself. Maybe that works. -- Fábio Pinatti :: web.developer :::: www.pinatti.com.br :::::: 19. 9184.3745 / 3342.1130 _______________________________________________ Flashcoders mailing list [email protected] http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

