PDF file opening and saving to disk with browse
How to implement two functions in AS3 (not AIR!, Really need without AIR):
var path: String = "catalog/filename.pdf";
1) I want to open it, but in the default system application (not in webbrowser with urlrequest)
2) I want to save it to my disk with a browse dialog.
I can not find it 3 days. Please help
You can't save anything to disc because it's a security issue. The os and browser are setting and enforcing the rules. Flash can't save anything that html can't save other than "flash cookies."
If Ford, Google, etc. open their pdf's in the browser, why do you think you can do more? ; >
I have ever tried to open PDF files with the help of following code:
Or you can also google it and select a fine PDF reader whose way of processing is simple and fast to help you with the related work. Remember to check its free trial package first if possible. I hope you success. Good luck.
// View a PDF
PdfReader pdf = new PdfReader();
If you want to open and and saving embedded PDF document, you need to use a pdf document reader that allows for fast speed and high-quality PDF document opening, viewing, rendering and saving. As for the specifc methods for these operations are variable, I list them on the online tutorial.
Stop trying to advertise in this forum. Reading a pdf is easy for a coder.
Click Here to Expand Forum to Full Width
Poll by Flashkit.com