6 Replies Latest reply on Jul 18, 2011 3:57 PM by Flex harUI

    transcoding parameter 'embedAsCFF' is not supported...tried everything! Help!


      HELLLLPPPPP!!!!   I give up.  I think I've tried everything....


      I am trying to move from Flex 3 to Flex 4.  I have a .css style sheet with this defined

      @font-face {

      src: url(/style/arial_font_embed.swf);



      fontStyle: normal;

      fontWeight: normal;


      The arial_font_embed.swf had been created in Flash CS4 and has worked just fine in the old Flex 3 world for years.  I looked at the following locations to figure out what to do


      http://help.adobe.com/en_US/flex/using/WS2db454920e96a9e51e63e3d11c0bf69084-7f5f.html#WS02 f7d8d4857b16776fadeef71269f135e73-8000


      I added the

      embedAsCFF: true;

      to the .css, but then I get the error:

      transcoding parameter 'embedAsCFF' is not supported by 'flex2.compiler.media.MovieTranscoder'


      I thought maybe there is something wrong with how my old arial_font_embed.swf is built.  I tried using the fontswf utility that is in my folder

      Program Files (x86)\Adobe\Adobe Flash Builder 4.5\sdks\4.5.1\bin folder ( I am using eclipse 3.6.2 with FB4 as a plugin).  But my windows command console says "fontswf 'java' is not recongized as an internal or external command, operable program or batch file".  I tried typing in fontswf.bat (which is clearly in the directory) and still got that error.  Then I tried looking high and low to figure out how to create the .swf font embed file using FB4 to see if there were any parameters or publish settings I missed. Couldn't find anything.


      Then I tried following the instructions described here:



      I built myself an app .mxml file and successfully built a .swf with the unicode ranges I wanted.  Then I tried using that as the src, and I still get the error

      transcoding parameter 'embedAsCFF' is not supported by 'flex2.compiler.media.MovieTranscoder'


      I am at a loss about what to do.


      Please help.