flex加载字体方式2:该加载方式使用css加载字体,只支持系统自带的字体,不支持嵌入式字体。
.myStyle1{
font-family:宋体;
font-size:20px;
}
import mx.controls.Image;
private function init():void{
var bmp:BitmapData =new BitmapData(aa.width,aa.height);
bmp.draw(aa);
var bt:Bitmap = new Bitmap(bmp);
...