Add font weight to embedded font
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:Style>
global {
fontFamily: gothicCentury;
}
</mx:Style>
<mx:Script>
[Embed(source="a.ttf", fontName="gothicCentury")]
private var _centuryGothic:Class;
[Embed(source="a.ttf", fontName="gothicCentury", fontWeight="bold")]
private var _centuryGothicBold:Class;
</mx:Script>
<mx:TextArea text="Example Text" />
<mx:Button label="Example" />
</mx:Application>
Related examples in the same category