Hello Michael, - my english is bad but I will try. I think a fonts inside shared libraries have different realisation than movies in libraries. Previously if font is shared than this font have something like property "I'm shared" and can be used outside his movie. Second difference is garbage collector behaviour for fonts: if some font don't used this font will not removed if any TextFormat object have his name (not link!).
This behaviour isn't documented because it's incorrect realisation. Correct realisation must work like all other libraries objects. I hope my english is understandable. Good luck! -- iv 2007/7/23, Michael Ypes <[EMAIL PROTECTED]>:
Hey Ivan, Now your code is free :) Can you quickly confirm how you embedded the fonts at runtime without embedding the shared library at author time. I have done it based on something similar to yours but by someone else on flash coders. Is it because it is embedded into the external flash file which you are loading that it becomes available to the main movie. I hope this makes sense. Anyhow that is how I have got it to work but I don't know why it works as there is no documentation on this. I would really appreciate an insight to this just so that I can understand the logic behind it. Cheers M -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Dembicki Sent: 22 July 2007 22:03 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields Hello, Many materials about fonts sharing is here: www.sharedfonts.com PS: Now SFM is free and sharedfonts.com domain is for sale. Good luck! 2007/7/22, pedr browne <[EMAIL PROTECTED]>: > Hello, > > I have a swf using a shared font. The font works fine in static or dynamic > textFields created at author time, but does not work with dynamically > created textFields. I am setting embedFonts = true. The dynamically created > textfield's text property traces out the text I've set to it, but does not > show the text. > > Can anyone help? > > Thanks > > -- > +44 (0) 788 0600 363 | +44 (0) 127 3208 079 > _______________________________________________ > Flashcoders@chattyfig.figleaf.com > 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 > -- iv _______________________________________________ Flashcoders@chattyfig.figleaf.com 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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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
-- iv _______________________________________________ Flashcoders@chattyfig.figleaf.com 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