agreed - at this point you should be looking at stylesheets and <span> tags
to do your styling, especially if you're doing multiple text styles in a
single field - it makes it much easier to change later if the client starts
going mad


On Mon, Jan 12, 2009 at 10:24 PM, Ashim D'Silva <as...@therandomlines.com>wrote:

> 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 <michael.mendels...@fmglobal.com>
>
> > 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
> > Flashcoders@chattyfig.figleaf.com
> > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
> >
>
>
>
> --
> The Random Lines
> My online portfolio
> www.therandomlines.com
> _______________________________________________
> Flashcoders mailing list
> Flashcoders@chattyfig.figleaf.com
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to