.mystyle1 {
fontFamily:myFont;
fontSize: 32pt;
}
.mystyle2{
fontFamily:myBoldFont;
fontSize: 32pt;
fontWeight: bold;
}
[Embed(source='a.ttf',fontName='myFont', mimeType='application/x-font' )]
private var font1:Class;
[Embed(source='a.ttf',fontWeight='bold', fontName='myBoldFont',mimeType='application/x-font', flashType='true' )]
private var font2:Class;
text="uses WebPro font." rotation="15" />
text="uses WebPro-Bold font." rotation="15" />