title: ActionScript 3.0 Load PDF
body: <p>I am trying to load a PDF into my Adobe Air Application using ActionScript, On my machine I have the latest Adobe Acrobat Reader DC and Adobe Acrobat XI Pro.</p>
  
  <p>I have been following these steps on this tutorial: <a href="http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7eb4.html" rel="nofollow noreferrer">http://help.adobe.com/en_US/AIR/1.5/devappsflex/WS5b3ccc516d4fbf351e63e3d118666ade46-7eb4.html</a></p>
  
  <p>but I am stuck here:</p>
  
  <pre><code>if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)  
  { 
      trace("PDF content can be displayed"); 
  } 
  else  
  { 
      trace("PDF cannot be displayed. Error code:", HTMLLoader.pdfCapability); 
  }
  </code></pre>
  
  <p>but it keeps saying PDF cannot be displayed. Error code: 3204 which is An error was returned by the OS when trying to load the Adobe Reader or Acrobat application or one of its necessary libraries.</p>
  
  <p>Am I missing something here? Or don't have something installed properly?</p>