Sample name: Font embed
Nosaukums: Fontu ielādēšana ar AS3
More info about flash and font embed: Scott Morgan home page
Here is link to Unicode charachter table
in flex directory is little cheatsheet of ofteen used unicode ranges: ../Flex3_SDK/frameworks/flash-unicode-table.xml
// embed Helvetica font
// with unicodeRange you specify unicode charachters that you wish embed in your swf.
[Embed(source="HelveticaNeueLTPro-ThEx.ttf", fontFamily="Helvetica_for_poll", fontWeight= "normal", fontStyle = "normal", mimeType="application/x-font-truetype", unicodeRange='U+0025,U+0030-U+0039,'))]
private var MyFont:Class;

var format1:TextFormat = new TextFormat();
format1.size = 40;
format1.color = 0x666666;

var text_center:TextField = new TextField();
text_center.embedFonts = true;
text_center.antiAliasType = AntiAliasType.ADVANCED;
text_center.defaultTextFormat = format1;
text_center.text = '%';
text_center.x = radius-20;
text_center.y = radius - 25;
text_center.selectable = false;