Creates a TextField object and then tells Flash Player to render it with embedded fonts using the FlashType renderer : Font : TextField Flash / Flex / ActionScript examples


Flash / Flex / ActionScript examples » TextField » Font »

 

Creates a TextField object and then tells Flash Player to render it with embedded fonts using the FlashType renderer


 

package{
  import flash.display.Sprite;
    import flash.text.*;  
  public class Main extends Sprite{
    public function Main(){
        var t:TextField = new TextField(  );
        t.embedFonts = true;
        t.antiAliasType = AntiAliasType.ADVANCED;
    }
  }
}

        



Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .


Flash / Flex / ActionScript examples

 Navioo TextField
» Font