Re: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Jiri
He Keith, thanks for pointing that out to me. I tried and it still wont show any text. When I enumerate the fonts, and using the code provided by Keith I get this output embeddedFonts Array (@367abf39) [0] flash.text.Font (@369a56c1) fontName"

Re: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Glen Pike
Hi, I have had lots of problems with this in the past - be careful you are not embedding the font in the IDE for any of your text fields, I think it clashes. Where is "MyriadProFont" coming from in your App? Glen On 15/09/2010 08:46, Jiri wrote: He Keith, thanks for pointing

Re: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread allandt bik-elliott (thefieldcomic.com)
i've also found problems if you don't use the actual names (which can be viewed in the flash ide) for the font (which can be the same as long as the weights are different and matching the names in ) here is a sample from a font embed class that i used on a recent project note: the fontName for th

Re: [Flashcoders] Custom cellRenderer for a List with XML data

2010-09-15 Thread Alexander Farber
Hello Kerry and others, > Alexander Farber wrote: > http://stackoverflow.com/questions/3709172/custom-cellrenderer-for-a-list-with-xml-data thank you, I've traced the set data in debugger and its d argument is really an Object, not XML. Flash seemingly will go through all the 1st level children o

RE: [Flashcoders] Embedding Fonts, it should be easy...., right!

2010-09-15 Thread Keith Reinfeld
Jiri, What version of Flash are you using? What version of the Flex sdk? Does the swf you are loading use timeline code? Have you tried putting in some traces? var tField:TextField = _sprite.getChildByName("field") as TextField; trace("tField =", tField); I did not notice before but, based on

Re: [Flashcoders] Custom cellRenderer for a List with XML data

2010-09-15 Thread Kerry Thompson
Alexander Farber wrote: >I've traced the set data in debugger and its d argument > is really an Object, not XML. Flash seemingly will go through all the > 1st level children of dataProvider's XML and create an Object for > each of them with attributes as properties (and also with sub-children > as

Re: [Flashcoders] Apple changes their guidelines

2010-09-15 Thread Jon Bradley
LLVM. On Sep 9, 2010, at 9:59 AM, allandt bik-elliott (thefieldcomic.com) wrote: > how does cs5 generate files for iphone? Does it create a swf and then use a > cocoa framework to make it work or does it transcode the file directly into > objective c? > > suddenly looks very interesting again __