摘要: 在flash中使用as来改变textfield的中文字体 ,遇到发布版本超过10.2的时候,会悲剧!不支持使用中文名称来改变字体。解决办法:1)使用英文名称。2)发布的版本低于10.2label:TextField =newTextField();format =newTextFormat();format.font = "SimHei"; // 所有版本都通用format.font = "黑体"; // 10.2以上会悲剧了format.color = 0xAAB5E3;format.bold =true;format.size = 20;label. 阅读全文
posted @ 2013-03-27 16:44 小松鼠喝多了 阅读(233) 评论(0) 推荐(0) 编辑