This is not exactly true, you can do it quite easily with shared libraries, I have posted this example on this forum a few times, I think I might have to put it on my blog .
Using shared library fonts is very easy, just a but touchy. Download this zip and take a look at how easy it is. http://www.codesortium.com/demo/sharedlibrary/example.zip Jim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Spencer Markowski Sent: 12 March 2006 17:22 To: Flashcoders mailing list Subject: Re: [Flashcoders] Help with shared library fonts Shared libraries are a bit tricky. Don't use font symbols in the library. Use MCs with a text box inside. Embed the font in the MC. http://www.sharedfonts.com/eng/faq.html <-- This site was extremely helpful. Download the demo... watch how it works. You need to create a font_name_library movie with the font exported for RTS. Then create a shared asset movie... drag the movieclip with the textfield in it from the font_name_library to the new shared asset document. Publish Then load the shared asset library only when loading into your main swf. Not very helpful, but hit me back if you need help. I've created an automatic font library extension for flash that makes it a breeze. -Spencer On 3/12/06, Hypno Joe <[EMAIL PROTECTED]> wrote: > > *I am using Flash8* > > Is there a way to keep fonts in an external movie and load them > dynamically into a movie when needed? > > The flash movie I am currently working on is a text editor that is all > generated dynamically. A text box is generated on the main movie like > this: > > this.createTextField("message_txt", 200, 10, 10, 560, 200); > message_txt.embedFonts = true; > > The main text box is styled using TextFormat. > > var messageformat:TextFormat; > meassageformat = new TextFormat(); > messageformat.size = 20; > messageformat.font = "hightower_font"; > > I have a button that calls in an external SWF that contains a list of > different fonts for the text box. The fonts are embedded in the movie > and exported for action script and runtime sharing. They change the > font like this: > > this.aucion_mc.onRelease = function () { > messageformat = new TextFormat(); > messageformat.font = "aucion_font"; > _root.message_txt.setTextFormat(messageformat); > } > > The fonts show up in the external SWF as it is loaded into the main > movie but when one of the bottons is presssed, the text in the text > box disappears. > > If I embed the fonts in the main movie, I have no problems. > Everything works fine. But that defeats the purpose of having the > fonts exist externally. I only want them to load if the user wants to > change fonts. > _______________________________________________ > [email protected] > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Spencer Markowski [EMAIL PROTECTED] 314.631.5576 _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com _______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

