Posted By

alexaivars on 06/11/09


Tagged

font fontName fontStyle fontType


Versions (?)

Who likes this?

3 people have marked this snippet as a favorite

sweetbabyyoung
pauloc
abbey


List registered font files


 / Published in: ActionScript 3
 

  1. var fonts:Array = Font.enumerateFonts();
  2. var font:Font;
  3. for(var i:int; i<fonts.length;i++)
  4. {
  5. font = fonts[i];
  6. trace("name : "+font.fontName);
  7. trace("style : "+font.fontStyle);
  8. trace("type : "+font.fontType);
  9. }

Report this snippet  

You need to login to post a comment.