Flex4之雅黑字体

<s:Application xmlns:fx="http://ns.adobe.com/mxml/2009" 
  xmlns:s="library://ns.adobe.com/flex/spark" 
  xmlns:mx="library://ns.adobe.com/flex/mx" 
  minWidth="955" minHeight="600"
  fontSize="14"
  creationComplete="application1_creationCompleteHandler(event)"
  fontFamily="微软雅黑"

  >


<fx:Style>

@namespace s "library://ns.adobe.com/flex/spark";
.yahei{
font-family:"Microsoft Yahei",Georgia;
}

这样设置即可

你可能感兴趣的:(Microsoft,Flex,application,library,微软)