flex 字体加载方式2(只支持系统自带字体)

 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);
			...
posted @ 2010-11-11 14:49  huazhi  阅读(168)  评论(0)    收藏  举报