RE: [Flashcoders] AS2 Shared Fonts and dynamically created textFields
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
Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields
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
RE: [Flashcoders] AS2 Shared Fonts and dynamically created textFields
Hey buddy Your English is great :) I can't speak any other language so I appreciate your effort. I get the idea of what you are talking about and roughly guessed the same thing. The great thing is that you can do this sort of thing and it is so simple to do that so many developers will find it useful to use. I do alot of multilingual stuff and they are always concerned with file size which this can help with. Language library loaded prior to application = major file saving :) Thanks for your response Ivan, i've always seen you as the pioneer of font embedding :) And that's serious (M) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ivan Dembicki Sent: 23 July 2007 22:00 To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields 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 ___ 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
Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields
Are you sure you've set the correct font in your dynamically created text field? (using setTextFormat and/or setNewTextFormat?). Have you got the font attributes correct in the TextFormat? (bold, italic etc.) Ian On 7/22/07, pedr browne [EMAIL PROTECTED] wrote: 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 ___ 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
RE: [Flashcoders] AS2 Shared Fonts and dynamically created textFields
Also, make sure you're setting your TextFormat after you set the text. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Sunday, July 22, 2007 10:19 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields Are you sure you've set the correct font in your dynamically created text field? (using setTextFormat and/or setNewTextFormat?). Have you got the font attributes correct in the TextFormat? (bold, italic etc.) Ian On 7/22/07, pedr browne [EMAIL PROTECTED] wrote: 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 ___ 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
Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields
...unless you're using setNewTextFormat() Ian On 7/22/07, David Ngo [EMAIL PROTECTED] wrote: Also, make sure you're setting your TextFormat after you set the text. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ian Thomas Sent: Sunday, July 22, 2007 10:19 AM To: flashcoders@chattyfig.figleaf.com Subject: Re: [Flashcoders] AS2 Shared Fonts and dynamically created textFields Are you sure you've set the correct font in your dynamically created text field? (using setTextFormat and/or setNewTextFormat?). Have you got the font attributes correct in the TextFormat? (bold, italic etc.) Ian On 7/22/07, pedr browne [EMAIL PROTECTED] wrote: 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 ___ 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 ___ 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
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