if it didnt' display content - what happens? Is there greyed area in application visible?
By default Air does not use OS X built-in PDF content support - you need pluggable Adobe solution installed along of AIR runtime.
Also - you could face issue with path, be advised to use URI based "file://" protocol on OS X (it should work on Windows as well btw),
Give it a try:
var file:File = File.desktopDirectory.resolvePath("RD_phase3.pdf");
(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK) &&
var url:String = file.url;
pdf.loadString("handle errors in user friendly way");
Having basically the same issue. A blank screen appears. I am using an iframe to display the PDF file (or trying to)
Windows 7 Professional
Acrobat Pro X
AIR SDK 2.7
var out = document.getElementById('outDiv');
if (air.HTMLLoader.pdfCapability ==
"<iframe src='pdf/newsletter.pdf' width='700' height='500'></iframe>";
out.innerHTML = "<h2>PDF capability not found</h2> <p>Error is: " + air.HTMLLoader.pdfCapability+"</p>";
I am receiving a 3202 error on return from HTMLLoader.pdfCapability (acrobat version too old)
have same problem
i am using flex 4.0, AIR 3.4 and Adobe Reader X(10.14)
unable to load pdf file and throwing error code 3202(i.e. acrobat version too old). anybody can tell whats the actual issue.