title: AS3 with alivePDF Embedding Fonts - Unable to transcode .afm
body: <p>I've tried adding the <code>/</code> at the front like many other forums and blogs suggested and that didnt work.</p>
  
  <p>I'm hoping I missed something, and you guys can help me catch it. I'm using the <code>AlivePDF</code> library its working fine so far until now, I am trying to embed the <code>swiss-721-bold-outline</code>, here is my code: </p>
  
  <pre><code>[Embed( source="/../swissFonts/swz721bo.TTF", mimeType="application/octet-stream" )]
          var swissBold:Class;
  
  [Embed( source="/../swissFonts/swiz721bo.afm", mimeType="application/octet-stream" )]
          var BoldAfm:Class;
  
  var regularSwiss:EmbeddedFont = new EmbeddedFont(new swissBold() as ByteArray, new BoldAfm() as ByteArray, CodePage.CP1252);
  </code></pre>
  
  <p>Simple, but I keep getting these errors:</p>
  
  <pre><code>Unable to resolve '/../swissFonts/swiz721bo.afm' for transcoding
  Unable to transcode /../swissFonts/swiz721bo.afm.
  </code></pre>
  
  <p>Notice that the <code>.TTF</code> file has no errors, just the <code>.afm</code> ...</p>