Hello,
I am having trouble opening a PDF file in adobe air application on Mac OS. I already installed adobe reader 11 and air on mac.
I also traced HTMLLoader.pdfCapatibility, which returns 3204 (An error was returned by the OS when trying to load the Adobe Reader or Acrobat application or one of its necessary libraries.) on Macs.
I am showing you some sample code to you.
if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
{
var request:URLRequest = new URLRequest(tempFile.url);
pdf.load(request);
var ui:UIComponent = new UIComponent();
ui.addChild(pdf)
container.addChild(ui);
}
else
{
trace("PDF cannot be displayed. Error code:",HTMLLoader.pdfCapability);
}
it shows the output : PDF cannot be displayed. Error code: 3204
Please let me know if anyone has any ideas ............asap