Your Ad Here

Posted By

loric on 10/19/09


Tagged

as3fontembed


Versions (?)

Embed Font at Runtime


 / Published in: ActionScript 3
 

  1. [Embed(systemFont="Banco Std",fontName="Banco", mimeType="application/x-font",unicodeRange = "U+40041-U+9308"]
  2. var banco:Class;
  3.  
  4. Font.registerFont(banco);

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: loric on October 19, 2009

var loader:Loader = new Loader(): loader:contentLoaderInfo.addEventListener(Event.INIT, fontLoaded);

You need to login to post a comment.