2 Replies Latest reply: Aug 24, 2012 9:30 AM by M_Doyle RSS

    CS5.5 Importing Font Symbols Problem

    leoinplano2011 Community Member

      When my team upgraded to CS5.5, we noticed we were having problems with all our flash movies that "Import for runtime sharing" font symbols from other swfs.

       

      I've tried to narrow this down to as simple a test-movie as I can. I took notes on my steps in meticulous detail in the hopes that another forum member will be able to reproduce this problem, or tell me they got it to work in some form or fashion.. Maybe I'm missing a new step that's introduced in CS5.5?

       

      These steps work correctly for me in CS5. They don't work in CS5.5:

      1. Make a new FLA file, AS2
      2. Create a new Font Symbol in the library
        • OPTIONS TAB
          • I named it BodyFont
          • Georgia
          • Regular
          • Embedded Basic Latin (95 Glyphs)
          • Switch to the ActionScript Tab
        • ACTIONSCRIPT TAB
          • Identifier: BodyFont
          • Checked "Export for runtime sharing"
          • URL: fontLib.swf
      3. Save this FLA as fontLib.fla
      4. Turn off HTML Publishing, publish the swf. 18kB swf reflects the font data did get exported into the swf.
      5. Create a new FLA file, AS2
      6. Copy the BodyFont symbol from the fontLib Library into the Library of this new file. In its Properties, "Import for runtime sharing" is checked, with the path to the swf set up like you'd expect.
      7. Make a text-field; In Properties, set Family to BodyFont*; Set Size, Color. Add some text.
      8. Save file as fontClient.fla
      9. Turn off HTML Publishing, publish the swf.
      10. When I run this swf, I see nothing.

       

      Comments

      When I run this swf with other Flash Players like Scaleform's, I see error text that the player can't resolve the symbol BodyFont.

      Also, when I look at the swf for fontClient with a tool like swfmill, and compare it with the swf that CS5 generates, CS5.5 doesn't seem to be adding the tag that tells the runtime to import the font symbol from the external resource.

       

      Thanks for reading.. I hope to either confirm this is a bug, or learn what I'm missing that's new to CS5.5 =)

      Leo