private function listFonts():void {

var fontArray:Array = Font.enumerateFonts(true);

var str:String = "Fonts: \n";

for(var i:int = 0; i < fontArray.length; i++) {

var thisFont:Font = fontArray[i];

str += "FONT " + i + ":: name: " + thisFont.fontName + "; typeface: " + 

thisFont.fontStyle + "; type: " + thisFont.fontType;

if (thisFont.fontType == "embeddedCFF"||thisFont.fontType == "embedded") {

str += "*";              

}            

str +=  "\n";

}

trace(str);

}

Posted by 미랭군