判断系统
var systemName:String = Capabilities.os;
if(systemName == "Windows 7" || systemName == "Windows Vista")
{
fontName = "Microsoft YaHei";
}
else if(systemName.indexOf("Mac OS") != -1)
{
fontName = "Heiti SC";
}
if(systemName == "Windows 7" || systemName == "Windows Vista")
{
fontName = "Microsoft YaHei";
}
else if(systemName.indexOf("Mac OS") != -1)
{
fontName = "Heiti SC";
}