A Flash Developer Resource Site

Results 1 to 5 of 5

Thread: PDF file opening and saving to disk with browse

  1. #1
    Junior Member
    Join Date
    Nov 2013

    PDF file opening and saving to disk with browse

    How to implement two functions in AS3 (not AIR!, Really need without AIR):

    i have:
    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

  2. #2
    Senior Member
    Join Date
    Nov 2001
    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? ; >

  3. #3
    Junior Member
    Join Date
    Jun 2013
    I have ever tried to open PDF files with the help of following code:
    using System.IO;
    using System.Drawing.Printing;
    using Yiigo.Imaging;
    using Yiigo.Imaging.Processing;
    using Yiigo.Imaging.PdfRead;
    // View a PDF
    PdfReader pdf = new PdfReader();
    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.

    Best regards,

  4. #4
    Junior Member
    Join Date
    Jul 2013
    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.

  5. #5
    Senior Member
    Join Date
    Nov 2001
    Stop trying to advertise in this forum. Reading a pdf is easy for a coder.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Click Here to Expand Forum to Full Width

HTML5 Development Center