Setting and embedding a font to a textField

Hi,
I want to create a text field and write in it using a certain font from my font library.
This is the code I use to create the textField:

import flash.display.*;
import flash.text.TextField;

    var myText1:TextField = new TextField();
    myText1.text = "something";
    this.addChild(myText1);
    myText1.x = 110;
    myText1.y = 40;

I embedded the font in the library and gave it the linkage name: “font”

What code to I need to add in order to write this in this certain font?

Thanks

you need to assign **TextFormat **object to myText1.format property… check out documentation for more info…