flex4引入字体

 

 

<fx:Style>		
		@font-face{
			src : url(../libs/font/BaroqueScript.ttf);
			font-family : "baroqueScript"
		}

	</fx:Style>

<s:Label text="hello world " fontFamily="baroqueScript" />

 

 

 

 

字体放置在libs目录下

 

 

你可能感兴趣的:(flex4)