So I was having a very hard time getting some fonts to embedd in a game I was working on using the Push Button Engine, the fonts refused to embed in a screen even though I had them embedding in the flash file ( that gets exported as a swc), had them set for export in the flash file and then registered them and used text formats in the actionscript code. I read somewhere that flex 4 had broken some of the flash font embedding when using in Flash Builder ( the old Flex builder) to build an actionscript/flash project not using the Flex SDK.
I managed to get it working by embedding the fonts in code and setting the embedAsCFF to false since my flash text fields where classic text boxes.
[Embed(source="/fonts/ARIALBD.TTF", fontFamily="ArialEmbedded", embedAsCFF="false")]
public static var ArialEmbedded:String;
( in the screen that used the code...)
var format : TextFormat = new TextFormat();
format.font = "ArialEmbedded";
levelEndScreenMC.scoreMC.textField.defaultTextFormat = format;
Once I did that and used that as a text format for my text boxes :
Everything started behaving.