Archive for the ‘CS4’ Tag
Easy way to find out embedded fonts and their names in CS4
var fontList:Array = Font.enumerateFonts();
for (var i:int=0; i<fontList.length; i++ )
{
trace( "font: " + fontList[ i ].fontName );
}
var fontList:Array = Font.enumerateFonts();
for (var i:int=0; i<fontList.length; i++ )
{
trace( "font: " + fontList[ i ].fontName );
}