I would put them in the css file, then it's easier to change themes on the
fly etc.


On 20 May 2013 13:08, Scott Matheson <[email protected]> wrote:

> Hi
>    Whats the best way to setup a global fonts for my application, this is
> a standard app Spark, Skinks some MX  and Models
>
> Should I just use <Style> in Main.MXML or use CSS ?
>
>
> <fx:Style>
>     @font-face {
>         src: url("ENFont.ttf");
>         fontFamily: EmbeddedENFont;
> }
>     @font-face {
>         src: url("JAFont.ttf");
>         fontFamily: EmbeddedJAFont;
>
> </fx:Style>
>
>
> ________________________________
>
> Disclaimer: This electronic mail and any attachments are confidential and
> may be privileged. If you are not the intended recipient, please notify the
> sender immediately by replying to this email, and destroy all copies of
> this email and any attachments. Thank you.
>

Reply via email to