See all embeded fonts in Flash

Most of the troubles with flash fonts comes from the name of the embeded font. This is a simple way to view all fonts, embeded into the flash project.

import flash.text.Font;
trace('available fonts [' + Font.enumerateFonts().map(function(e:*, i:int, arr:Array):String { return e.fontName  }) + ']');