This content has been marked as final. Show 5 replies
As a workaround, your AIR app can have a timer that calls a method in the PDF JS periodically to see if it has anything to communicate to AIR.
I'll also ask Acrobat Scripting forum.
Have you tried taking two hops? PDF JS to browser JS (AIR HTML control) to AIR AS? Should work: AIR can communicate with JS running in HTML, and JS can talk to PDF, right?
That should communicate at 2 stages,right?
PDF JS <--> HTML JS(in AIR HTML control) <--> AIR AS
AIR can communicate with JS running in HTML.
But I don't know the manner of the communication of PDF JS and HTML JS(in AIR HTML control).
Is this possible?
In case this question gets stumbled on in the future I have a demo online that demonstrates how to speak to HTML from within a PDF in Adobe Air.
Hope it helps.