PDA

View Full Version : Dynamic text w/ embedded fonts



Coolidge
October 2nd, 2003, 01:56 PM
Hello all-
I was just wondering if it would be possible to embed 20 fonts into a movie. Upon the user typing a word in an input text field AND checking a box or radio button indicating a font style, could Flash generate the input text to an output field with the font choice in the next frame?

thanks in advance:thumb:

claudio
October 2nd, 2003, 02:03 PM
Yes, just embed every font you need to use.
You could also use the TextField.getFontList method.

dizknee
October 2nd, 2003, 03:47 PM
That would make the flash file EXTREMELY large though, as it is embedding every font character.

jingman
October 2nd, 2003, 08:50 PM
Would this be a situation in which you could use a shared library .swf to hold different fonts, and then load only the ones you need?

Coolidge
October 2nd, 2003, 08:53 PM
I've never used a shared library-
do you think it would be a good idea?

jingman
October 2nd, 2003, 09:02 PM
I've never used one either, but it sounds like it's exactly what you need:

http://www.macromedia.com/support/flash/ts/documents/sharedfonts.htm