If you then load the swf with the fonts ito your main movie, you will find that the fonts are only available to textfields in the loaded movie, not the main movie that loads it. To get around that, you have to do some voodoo. From memory, you need to create at least one textfield in the main movie that uses one of the fonts in the loaded movie, and link to that file when you embed the font. If you don't want to keep rebuilding your main swf, then you need to keep the filename of the linked swf the same each time, or the main movie won't load because it can't find the linked file. (Plesae correct me if I'm wrong - it's from memory and it's late...) I do that and can use all the fonts in resources.swf from my engine.swf. I have a script that builds resources swf for each piece that uses the engine. I've wanted to do this for ages, but only recently found the answer. www.nottingham.ac.uk/xerte is the project. It's an authoring tool for rich interactive elearning. It's very similar to Flex, but was born whilst flex was still in its infacy and prohibitively expensive. I use it for all my work.
________________________________ From: [EMAIL PROTECTED] on behalf of Gert-Jan van der Wel Sent: Mon 04/06/2007 19:57 To: Open Source Flash Mailing List Subject: Re: [osflash] External font loading - No shared libraries I think Julian is right, but swfmill makes it a lot easier: http://osflash.org/swfmill#dynamic_shared_font_loading Gert-Jan On 6/4/07, Tenney Julian <[EMAIL PROTECTED]> wrote: Can't be done. You have to build the font into a library, maybe using swfmill as part of your build process. I'd love to be corrected, Jules ________________________________ From: [EMAIL PROTECTED] on behalf of Daniel Gregório Sent: Mon 04/06/2007 17:18 To: [email protected] Subject: [osflash] External font loading - No shared libraries Does anybody has an ideia of how to load external fonts in ttf? or something else instead of shared libraries? thank you very much, -- Daniel Gregório Adobe Certified Professional This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org -- Met vriendelijke groet, Gert-Jan van der Wel | Suite75 This message has been checked for viruses but the contents of an attachment may still contain software viruses, which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
