Embed and register SWF file embedded fonts


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. [Embed(source="emededfont.swf", fontName="Font Name", fontWeight="bold|normal") ]
  2. public static var FontClass:Class;
  3. Font.registerFont(FontClass);

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.