Hi there,
I'm working on an application that fills a template PDF Document with form fields from an AIR app. I've gotten the AIR app to populate the form fields in the PDF template using embedded Javascript. I'm just in need of a solution to save the state of the filled form as a new PDF document.
I don't know what I'm doing wrong but I've tried using the saveAs() function embedded in the PDF but doesn't seem to work. I'm wondering if anyone could give me a hand with this issue.
Thanks.
However, you may have an additional problem. The Flash player is using the Acrobat/Reader OCX to display the PDF. This component has different rules for use than the actual Acrobat/Reader applications. I'm not sure you can save a local copy of the PDF from it, even if it is enabled.
You can submit the PDF, or the PDF data, to a server script.
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script