The application on which I am working creates textFields and applies textFormats in actionscript with text and formatting data. For appearance reasons, I have set the textField to use embedded fonts. In my application, I have the appropriate font outlines and font symbol. Everything renders correctly. What I would like to do is have the ability to use multiple fonts inside of my application without having to embed each font that might be used. I tried to achieve this by creating another swf file that contains nothing but a font outline and a font symbol. My main movie loads this swf file. When the font movie completely loads and initializes, I create my textField and include the font from the movieclip inside of the formatting object. However, it appears that the font cannot be found and the text renders incorrectly. Basically, what I want to do is dynamically embed a font in order to increase application flexibility and decrease load time. Has anyone done something similar to this or have any suggestions on how to achieve this?
Interesting, but I'm not so sure I want to license something that I can build myself. At least by seeing the demo online I know that loading fonts externally is feasible and will probably find my own solution soon. Thanks for your reply.
Don't see what you're looking for? Try a search.
|