PDA

View Full Version : Embedding fonts for tweening text


flexy
08-18-2006, 10:03 AM
Does anyone know the best way to embed fonts into a Flex app, so that I can use fade effects and moves on text fields?

Tink
08-18-2006, 11:48 AM
I've found the easiest way was to embed the fonts in an SWF and then use them as FlashType in Flex although i believe this is the heaviest way.

Alternatively you can used the font in your css (although i has all sorts of errors about it now finding the correct weight and style), or you can ebed the font directly in you classes.

The 'best' way is up to u I guess.