# Embed true, and antyAliasType advanced"

**URL:** <https://forum.kirupa.com/t/embed-true-and-antyaliastype-advanced/268724>\
**Category:** Uncategorized\
**Created:** [August 18, 2008, 5:01am UTC](https://forum.kirupa.com/t/embed-true-and-antyaliastype-advanced/268724 "2008-08-18T05:01:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ral\_cr](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ral_cr/32/1971_2.png) [@ral\_cr](https://forum.kirupa.com/u/ral_cr)\
**Post date:** [August 18, 2008, 5:01am UTC](https://forum.kirupa.com/t/embed-true-and-antyaliastype-advanced/268724/1 "2008-08-18T05:01:04Z")

</div>

they do not work together. why?  
if i set antiAlias to ADVANCED the font is not shoun. if i let it the way it is now the font looks very ugly because it’s not a pixel font. if i set embed to false noone will see it but looks ok.  
so what is left to do? this combination work perfectly in AS2 but i don’t want to do the project in as2.

thanks

```php
import flash.text.*;

var font = new ArcherBook(); //from library
var format:TextFormat = new TextFormat();
format.color = 0xffffff;
format.size = 14;
format.font = font.fontName;

var myText:TextField = new TextField();
myText.embedFonts = true;
myText.autoSize = TextFieldAutoSize.LEFT
myText.antiAliasType = AntiAliasType.NORMAL;
myText.sharpness=0;
//myText.defaultTextFormat = format;
myText.selectable = true;
//myText.mouseEnabled = true;
myText.text ="Hello World";
myText.setTextFormat (format);

stage.addChild(myText);

```
