[Embed(source='/assets/calibri.ttf', fontName="Font", mimeType="application/x-font-truetype" embedAsCFF="false")]
private static var calibri:String;
I Looking from tutorial and get code like above and look like it's must on Class? can I use it without class? or maybe an example for font loaded class please?
Use the embed param
fontFamily
. This string you can use to set the font.