This content has been marked as final. Show 4 replies
You can use HTMLLoader.pdfCapability to check if the machine can render PDF content properly. It will let you know if the installed reader is too old, if reader is not found and if there is supported reader, but the reader set to display PDF is too old.
if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
trace("PDF content can be displayed");
trace("PDF cannot be displayed. Error code:", HTMLLoader.pdfCapability);
but I need to know the version of acrobat. On OSX there is a bug until version 8.1.2, so I need to know if the user have acrobat (pro o reader is the same) <8.1.2 (and then show a version warning) or >=8.1.3 or 9.
For more info on cross scripting between AIR and PDF, check out this devnet article.