This content has been marked as final.
Show 4 replies
-
1. Re: which acrobat version?
anirudhs Jul 4, 2008 4:57 AM (in response to sbaldizz)Hi,
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.
Code:
if(HTMLLoader.pdfCapability == HTMLPDFCapability.STATUS_OK)
{
trace("PDF content can be displayed");
}
else
{
trace("PDF cannot be displayed. Error code:", HTMLLoader.pdfCapability);
} -
2. Re: which acrobat version?
sbaldizz Jul 4, 2008 5:12 AM (in response to anirudhs)thanks anirudhs,
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. -
3. Re: which acrobat version?
anirudhs Jul 4, 2008 6:31 AM (in response to sbaldizz)Hi,
Then you could try loading a PDF that you created with custom javascript in it which can tell AIR what version of reader it is.
For more info on cross scripting between AIR and PDF, check out this devnet article. -
4. Re: which acrobat version?
sbaldizz Jul 4, 2008 7:34 AM (in response to sbaldizz)
I think it is the only solution, but not very convenient because the problem in acrobat 8.1.2 is the javascript interaction with air...
thanks

