In this example you can see how we can use font in a flex application.
In this example you can see how we can use font in a flex application.
Font in Flex4:
In this example you can see how we can use font in a
flex application. You will use font for the appearance of the component. You
will use font for give a color , size and etc.
Example:
<?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">
<!-- using fonts
-->
<fx:Style>
@namespace s
"library://ns.adobe.com/flex/spark";