In this example you can see how we can use a embedded font using actionscript.
In this example you can see how we can use a embedded font using actionscript.In this example you can see how we can use a embedded font using actionscript.
|
<?xml version="1.0" encoding="utf-8"?> <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">} } </fx:Style>[ Embed(source='MyriadWebPro.ttf',fontName= 'myriadFont',mimeType= 'application/x-font',embedAsCFF= 'true')] [ Embed(source='MyriadWebPro-Bold.ttf',fontName= 'boldFont',mimeType= 'application/x-font',embedAsCFF= 'true')] width=" 348" height="145"> <s:VGroup x="12" y="24" width="324" height="48"> <s:Button label="Submit" styleName="style1"/>styleName=" style2"/> </s:VGroup></s:Application> |

To view this page ensure that Adobe Flash Player version 10.0.0 or greater is installed.