[mtasc] Zooming in on test?
stuff at trackingsolutions.ca
stuff at trackingsolutions.ca
Thu Oct 27 03:06:16 CEST 2005
When I embedFonts the text disappears. Any thoughts on why this happens?
On October 26, 2005 05:23 pm, stuff at trackingsolutions.ca wrote:
> I know that this question has nothing to do with illegal code or the future
> of MTASC :) However, I would like to define some text that I can flip, zoom
> and do neat effects with. I can create text that I can move around but it
> will not allow me to zoom it or flip it.
>
> Here is a code sample of my attempts:
>
> //
> // Create a caption
> //
> var captionTextFormat:TextFormat = new TextFormat();
> captionTextFormat.size = 20;
> captionTextFormat.font = "_sans";
> captionTextFormat.color = 0xffffff;
> var captionText:String = "Text Text";
>
> createTextField("tfText1", 5, 70, 255, 800, 40);
> tfText1.setNewTextFormat(captionTextFormat);
> // Write caption text
> tfText1.text = captionText;
>
> tfText1._x = -200;
> tfText1._y = 62;
>
> As I said I can move this text arround but that is it.
>
> Any help?
>
> Thanks
> --
> MTASC : no more coffee break while compiling
More information about the mtasc
mailing list