I experienced similar problems and found the solution was to give the fonts in the library a linkage name and check "Export for action script" and "Export in first frame". This seems to have fixed it.
Paul -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of grimmwerks Sent: 28 August 2006 18:20 To: Flashcoders mailing list Subject: [Flashcoders] help with embedding fonts/using textformat? Hey all. I'm attempting to use some embedded fonts with Flash, and it just doesn't seem to be working. In the library I've added a new font, selected the font I wanted to use and called it 'Q_Body_Text'. I then have this test script: tBodyText = new TextFormat(); tBodyText.font = "Q_Body_Text"; tBodyText.size=20; tBodyText.leading=2; tBodyText.align=2; tBodyText.multiline=true; tBodyText.wordWrap=true; tBodyText.color=0xFFFFFF; this.createTextField("txt",2, 140,300,200,100); txt.text="Join artist Virgil Ortiz "; txt.setTextFormat(tBodyText); I've also got 2 regular static text boxes with the same text as test, one as the pre-embedded/library font (ie QuadraatSansCon-Regular) and the other as the embedded library font. The embedded library font static text and the dynamically created textfield have matching fonts, but the ACTUAL font is different. What am I doing wrong? _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com