Hi

Not sure if this will help. But when i embed fonts.  I use flash cs4 ide to 
make a library file swf or swc and add my fonts to that as font symbols. Bring 
that into flashbuilder

But what i have found in my AS3 i had to use this

var headingFormat:TextFormat = new TextFormat();

var headingFont:Font = new GothamBlack() // name of the library instance so e.g 
Arial() //
headingFormat.font = headingFont.fontName;

headingtxt.embedFonts = true;
headingtxt.text = "SOME TEXT";
headingtxt.setTextFormat(headingFormat);

Even if you have made a textfield in the flashIDE and set it to access the 
library item or even use embed font. It didnt seem to work unless i hard coded 
it to use it. There does seem to be probs with flash cs4 and fonts still.


Andrew Kenward
a...@milkybrain.co.uk
www.milkybrain.co.uk
07590 609 554

On 17 Mar 2010, at 15:00, flashcoders-requ...@chattyfig.figleaf.com wrote:

> Embedding fonts CS3 vs FD


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to