you must create a textformat instance and assign its font property to the library font and then set the textfield's format to be your textformat instance.
are you using as2 or as3?
I am in AS2.
I followed these steps.
- Open the Library panel (Ctrl+L).
- Add a font to your library - click the options menu in the upper right corner of the panel and select New Font from the menu.
- In the Font Symbol Properties dialog box select the font, size and style that you want and give the font combination a name. Click OK to close the dialog box.
- Right-click the font symbol in the library and select Linkage from the contextual menu.
- In the Linkage Properties dialog box, click the Export for ActionScript button to enable both the Identifier and AS 2.0 Class text input fields. Leave the default Identifier value and click OK to close the dialog box.
- Select the text tool from the Tools panel and draw a dynamic text field on the Stage.
- Give the text field an instance name of "my_txt". In the Font menu select the symbol name you gave the embedded font earlier. You should see a little asterisk (*) beside the name.
- In the Property inspector set the font size and style to match those in the Font Symbol Properties dialog box earlier.
Open the Actions Panel and add the following code to Frame 1 of your Flash document:
my_txt.embedFonts = true;
my_txt._rotation = 15;
my_txt._alpha = 10;
var tfor:TextFormat=new TextFormat();
tfor.font = "linkage id from library font";
Awesome that worked!