This content has been marked as final. Show 2 replies
Advanced anti-aliasing can be applied only if you use embedded fonts and a
TextFormat class. In your library, select New Font from the Options menu.
Choose a font from the dropdown list and give it any name you want. Ok. Then
right click that font in the library and choose Linkage to set it up for
Actionscript, and in the first frame.
Add the following actionscript to the first frame of your movie to set up
the font in the movie:
var text_fmt:TextFormat = new TextFormat();
text_fmt.font = "trebuchet-15";
text_fmt.size = 15;
myText.embedFonts = true;
myText.antiAliasType = "advanced";
text_fmt is the name of the TextFormat class. You can name this anything you
trebuchet-15 happens to be what I named my new font item in the library
myText is the name of the dynamic text box that I am going to be using this
One more thing. When you set up your dynamic text box ... if you're using
HTML text, don't override this with a <font> tag that declares the font face
Hope this helps. This should make the text in your dynamic text boxes just
as smooth as the static text.
"SwedKim" <email@example.com> wrote in message
>I have movie clip with dynamic text and static text. I am using same font,
> and color. The static texts looks great but the dynamic one is not. How
> can I
> get smoot fonts within dynamic text???
Thank you for your very complete solution. I would never had guessed that.