12 Replies Latest reply on Jan 3, 2013 12:50 AM by Roger25230

    AIR crashes on loading swf with 'Imported for runtime sharing' fonts

    Roger25230 Level 1

      Hello everybody!

       

      I'm developping an AIR application which loads an external swf. This swf contains 'Imported for runtime sharing' fonts from another swf to reduce its size.

       

      When the AIR application has finished to load (see message below) the whole application crashes without giving any error message except the usual "Process terminated unexpectedly" error message.

       

      End Loading: [SWF] C:\Users\dev02\myProject\index.swf - 83,930 bytes after decompression

       

      Error Message:

      Process terminated unexpectedly.

       

      Launch command details:  "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.6.0\bin\adl.exe" -runtime "C:\Program Files (x86)\Adobe\Adobe Flash Builder 4\sdks\4.6.0\runtimes\air\win" "C:\Users\dev02\Adobe Flash Builder 4\Languages_Editor\bin-debug\Language_Editor-app.xml" "C:\Users\dev02\Adobe Flash Builder 4\Languages_Editor\bin-debug"

       

       

      I use Flash Builder 4 (build 272416) with sdk 4.6.

       

      I tried to load the swf with <s:SWFLoader>, <mx:SWFLoader>, <s:MovieClipSWFLoader> and Loader (through SafeLoader).

       

      I have found someone who had the same trouble as me in an old forum (2010) and contact him. Instead of AIR wrapper, he choosed a C# wrapper.

       

      Thanks for your help!