title: AS3 font embedding - Error message
body: <p>I would like to embedd a font with AS3 using the "swf method".</p>
  
  <p>The error I get is:</p>
  
  <p>Font "myFont" could not be created
  ../assets/swf/myFont.swf cannot be transcoded.</p>
  
  <p>As per Google this problem is because of a path-error.
  But I think I set the right path, didn't I?</p>
  
  <p>My folder structure</p>
  
  <pre><code>main.fla
  ../com
  ..../subfolder
  ....../testButton
  ......../testButton.as
  ....../assets
  ......../swf
  ........../myFont.swf
  </code></pre>
  
  <p>in my testButton.as I'm trying to embedd the myFont.swf:</p>
  
  <pre><code>public class testButton extends Sprite {
  [Embed(source="../assets/swf/myFont.swf", fontName="myFont",
          fontWeight='bold', mimeType="application/x-font")] 
          private var myEmbeddedFont:Class;
  </code></pre>
  
  <p>In the main.fla I'm creating an object of the class.</p>