It depends on the compiler, but in the Flash IDE go into your library, and
click New Font, then embed the font you want. Bold and Italic have to be
embedded separately if required. Remember to turn on Export for Actionscript
as well.
You also might want to look into style sheets. It keeps things more
organised and will let you do hovers.

2009/1/13 Mendelsohn, Michael <[email protected]>

> Thanks for replying Rob.  I did this in the document class, but nothing
> happened.
> Import flash.text.Font;
>
> In the constructor:
> Font.registerFont(XYZBold);
>
> Then I tried:
> Font.registerFont(new XYZBold().fontName);
>
> But that didn't work either.  Where do you make it available?
>
> - MM
>
> > If your second font is not embedded in any text field but only
> available via linkage then while it is embedded in your file it is not
> available for usage. To make it available you need to use the
> registerFont function with your linked font. After that it should show
> up in any text field with embedFonts set to true.
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



-- 
The Random Lines
My online portfolio
www.therandomlines.com
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to