hello :) in my opensource framework you can use the FontLoader class to load an external swf with fonts inside :
http://www.ekameleon.net/vegas/docs/asgard/text/FontLoader.html This code work in AS3 in Flex or Flash, etc. To install VEGAs and this extensions you can use the AS3 SVN repository : http://vegas.googlecode.com/svn/AS3/ And read the tutorial to install it : http://code.google.com/p/vegas/wiki/InstallVEGASwithSVN The class is very easy to use and you can use the "autoRegister" property of the class to select only your used class or all class in the library automaticly. The class : http://code.google.com/p/vegas/source/browse/AS3/trunk/src/asgard/text/FontLoader.as EKA+ :) 2008/11/25 Mike Grunwald <[EMAIL PROTECTED]> > I've been searching for the best way to handle fonts when localizing Flash > applications. Ideally I'm looking for a way that I can create SWFs that have > specific character ranges of specific fonts embedded in them that I can load > in to my applications as needed based on the language that has been selected > by the user. > > I've come across many posts of people describing this approach, most > notably: > > http://troyworks.com/blog/2008/09/12/flash-runtime-font-sharing- > embedding-with-only-partial-character-sets-how-to/ > > The problem for me is I don't know Flex at all. I have Flex Builder 3 and > use it almost everyday as my primary AS3 editor, but I don't know the first > thing about MXML or even creating Flex projects. The previous post above > describes this technique using FlashDevelop and the Flex SDK. Since I have > Flex builder I'm just looking for a little guidance as to how to get similar > code to compile a SWF in Flex Builder. > > Any help would be greatly appreciated. Or if any or you have any better > methods of how to handle this that you would like to pass on, I'm totally > open to suggestion. > > Thank in advance, > _mike > > > > > > _______________________________________________ > 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