Archive

Posts Tagged ‘error’

font embedding tip – “Error: Unable to transcode…”

January 22nd, 2009 5 comments

hi folks,
this week i had to externalize fonts in an AS3 project. so i looked into my delicious links and found two very good tutorials, one by Troy Gardner on the TroyWorks blog and another one by Deden Ramadhan on the ini na!! blog.
in the first moment everything worked fine and i had no problems embedding the fonts, loading them and finally using them at runtime. i like how it works!
some days later i had to embed cyrillic, chinese and japanese characters from an ArialUnicodeMS.ttf font. then i always got the error message: “Error: Unable to transcode ArialUnicodeMS.ttf.”, at compile time. the first idea was that there’s something wrong with the ArialUnicodeMS.ttf file, because it works fine with other font files. so i tried another ArialUnicodeMS.ttf file from a colleague, but the result was the same error message. using google wasn’t that much successful, but i got a hint from a colleague that
flex includes several font managers to handle embedded fonts, exactly three. here you can find some informations about the three managers in the livedocs.

so the solution for my problem was to use the flash.fonts.AFEFontManager and everything works fine. to change the font manager you can simply use the compiler argument:

-managers flash.fonts.AFEFontManager

for your mxmlc compiler.

news review -> 44th week of 2008

October 31st, 2008 1 comment

here are some articles i was interested in this week…

> FDT 3 Actionscript Editor - FDT Tutorial List
> HEAD Conference 2008 - it was alot of fun! « RockOnFlash \m/ :: John Grden
> Flash Magazine > Aviary launched
> Gang of Four (GOF) Design Patterns in ActionScript–Adapter - Ntt.cc
> Flash,AS and Me: easter egg in Flash CS4 Professional
> 60+ Useful Adobe AIR Applications You Should Know | Tools
> The Flash Blog » New video tutorial on using ZendAMF
> Announcing Cannonball, a DOM+HTML+CSS+Browser Library for ActionScript 3.0 Open Source Flash
> gskinner.com: gBlog: Simple Flash Player 10 3D Demo w/ Source
> FDT 3 Actionscript Editor » Creating Flash Player 10 Projects with FDT (beta)
> Hot AS3 art | Stroep
> The Flash Blog » Flash Player 10 Video Flipper 3D
> FlashPad » Starfield for Papervision3D
> Actionscript Errors Got Roundup
> Is ActionScript 2 Development Faster than ActionScript 3 Development? at Mike Chambers
> Anyone using the Krugle Eclipse plugin?
> dispatchEvent()™ » Get together for the Global Game Jam 2009
> Scott Janousek » FOTBM09 (Flash On The Beach - Miami)
> The Official Flex Team Blog: Missed the Flex and Zend e-Seminar? No Problem.
> ActionScript 3.0 Prototype Design Pattern: A Minimalist Example | ActionScript 3 Design Patterns
> Papervision3D + Xray Introspection = FINALLY « RockOnFlash \m/ :: John Grden
> Andre Michelle » Fur like renderings
> SlideRocket out in the open | Serge Jespers
> Flint 2.0 released
> Flash: SOS Max, the best Flash trace() output debugger on the planet : TroyWorks
> FLEX{er} » Flash Player 10 Debug Version
> dispatchEvent()™ » Tip: Adding version checking to your external code library
> Bump Mapping Texture with Papervision3D | ClockMaker Demos
> The Flash Blog » New tutorial on Flash QuickTime export
> cochin, Kerala ,India - Anil Mathew: Create PDF using flash 10 save to local file
> Technoracle (a.k.a. "Duane's World"): Flash SEO Research: Google DOES use Ichabod to index Flash
> Flash 411 #4: Video Encoding Basics - FlashConnections
> Silverlight 2: Things ActionScript developers need to know. | Daniel Love
Categories: flash, flex, general, news review