Embedding font in an AS3 Project

I use this technique to embed font and had worked for me quite a lot time.

1
2
[Embed(source="commonAssets/ARIAL.TTF", fontFamily="Arial", embedAsCFF="false", mimeType="application/x-font")]
private static var font:Class;

Leave a Reply

Your email address will not be published. Required fields are marked *