Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-29 Thread allandt bik-elliott (thefieldcomic.com)
Out of interest try it with a different font - I've had all sorts of problems embedding Arial in the past On 28 Jun 2010 20:34, "Bill S." wrote: Hi Karl. I did try all combos of arial, Arial, _arial before asking. And the fontname in the ttf itself is "Arial". Also, the exact same code works

Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-28 Thread Bill S.
- From: Karl DeSaulniers To: Bill S. ; Flash Coders List Cc: Sent: Monday, June 28, 2010 2:24 PM Subject: Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5? Try removing the underscore in your font name. In my experience, when embeding fonts, the name of the fo

Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-28 Thread Karl DeSaulniers
Try removing the underscore in your font name. In my experience, when embeding fonts, the name of the font in your code must match the font name exactly. cAse SeNsiTiVe. I believe it should be. "Arial" Not "_Arial" And if your embedding arial.ttf, it should be "arial" as the font name. Ht

Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-28 Thread John McCormack
In CS5 Publish settings, ActionScript3, Source path there was already a path set up for ".", which I thought would be enough to find the package, but I changed it to the fla's directory C:\Users\John\Desktop\Temp and then it found the font package. I would have expected it to find the saved fla

[Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-28 Thread Bill S.
Hi Christoffer, thank you for the answer; but adding fontFamily didn't help. [Embed("arial.ttf", fontName="_Arial", fontFamily="_Arial", mimeType='application/x-font')] John -- I tried messing with the flex swc but that didn't do it either -- although I have a feeling that it is related

Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-26 Thread John McCormack
I was trying to do this today and kept getting errors and then came across this: http://forums.adobe.com/thread/441087 It goes on to say: "Turns out the packages have been split up at least as early as build 7410 (May/2009) and I was including flex4.swc where the mx classes no longer reside.

Re: [Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-26 Thread Christoffer Enedahl
I don't know about cs5, but this thing got me a day ago when I needed to use stysheets and fonts, I had to add fontFamily in the embed tag aswell for the font to show. [Embed("arial.ttf", fontName="_Arial", fontFamily="_Arial", mimeType='application/x-font')] HTH/Christoffer Bill S. skrev:

[Flashcoders] Embedded Fonts: Works in CS4, Fails in CS5?

2010-06-26 Thread Bill S.
One of the frustrating things with CS3 Flash was (contrary to many blogs -- and I believe the docs) that you could not actually [EMBED] fonts. However this worked wonderfully in CS4. But now, in (a fully updated) CS5 I can't seem to get EMBED to work again. The below code is exactly the same i