See all embeded fonts


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

You have to import import flash.text.Font first


Copy this code and paste it in your HTML
  1. // import flash.text.Font;
  2.  
  3.  
  4. /*
  5. Traced all embeded fonts
  6. */
  7. trace('available fonts [' + Font.enumerateFonts().map(function(e:*, i:int, arr:Array):String { return e.fontName }) + ']');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.