RE: [Flashcoders] Problem embedding and using a font variant

2011-04-12 Thread Merrill, Jason
Also, what is the font extension? I have found fonts with an .otf extension (like MyriadPro-Regular.otf) don't seem to embed with code. TTF fonts work for me though, could that be the issue? Also, in Flex (can't recall in the Flash framework off the top of my head), when you embed fonts,

Re: [Flashcoders] Problem embedding and using a font variant

2011-04-12 Thread Jens Struwe
Don't ask me for details, but just a week ago I got this running. [Embed(source=myfont.otf, fontFamily=myfont, mimeType=application/x-font-opentype)] public var MyFont : Class; To support otf, it is necessary to tell the compiler the a certain font manager is to use. I put it into my

[Flashcoders] Re: xliff and as3

2011-04-12 Thread allandt bik-elliott (thefieldcomic.com)
hi did anyone have any thoughts on this? thanks a On 8 April 2011 12:19, allandt bik-elliott (thefieldcomic.com) alla...@gmail.com wrote: hi guys i am currently working on a large as3 project that will require quite extensive localization and we're looking at using xliff as the standard

Re: [Flashcoders] Problem embedding and using a font variant

2011-04-12 Thread Glen Pike
Have you tried enumerating your embedded fonts to see what name Flash gives it? If you embed just your Myriad Pro Condensed into a document and add the actionscript to list out the font name, etc. http://www.google.com/search?ie=UTF-8oe=UTF-8sourceid=navclientgfns=1q=as3+enumerate+font You

[Flashcoders] IE 9 Flash security issue

2011-04-12 Thread Creighton, Gerry
I'm sure some of you have encountered the missing flash content when viewing in IE 9, have any of you come up with a solution to fix this issue? I have a flash app that is pulling data and I have all the proper crossdomain security systems in place, the flash movie is in the page but not

Re: [Flashcoders] Problem embedding and using a font variant

2011-04-12 Thread Matt Perkins
Thanks Glen! That did it! I was named Myriad Pro Cond This is the little snip of Actionscript that I used: http://snipplr.com/view/15835/list-registered-font-files/ And, Jason, it is an OTF font. Matt On Tue, Apr 12, 2011 at 7:18 AM, Glen Pike g...@engineeredarts.co.ukwrote: Have you tried

RE: [Flashcoders] Problem embedding and using a font variant

2011-04-12 Thread Merrill, Jason
To support otf, it is necessary to tell the compiler the a certain font manager is to use. That's not all, you need to compile with the Free SDK not the Open Source SDK. The reason is, that the AFEFontManager is not open source and not included into the Open Source SDK. Woah, good to

[Flashcoders] RE: IE 9 Flash security issue -FIXED

2011-04-12 Thread Creighton, Gerry
So the work around that we came up with doesn't require the user to go digging around in their settings. We put this meta tag in the head of the page. meta http-equiv=X-UA-Compatible content=IE=EmulateIE7 / Now our flash content shows in IE9 on Windows 7. Hope that helps someone down the road