A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Launch PDF from flash

  1. #1
    Member
    Join Date
    Sep 2000
    Posts
    67
    Does anyone know how to launch pdf from flash with a mac? I don't want the pdf document to open in a browser window (no getUrl). I can do this with a pc but not the mac. Is it possible.

    Stefan

  2. #2
    Member
    Join Date
    May 2001
    Posts
    51
    There's no easy way.

    The reason that the PC downloads it and the Mac displays it is most likely because the Mac has the Reader Browser plug-in installed and the PC doesn't.

    For best results, try popping up an HTML window with a link to the PDF that says "To download, right-click the link (PC) or control-click it (Mac) and choose 'Download Link to Disk'."

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Posts
    1

    Smile launching pdf's from flash

    There is a way to launch a pdf from flash, it's a bit time consuming.
    You need to open Applescript, start recording, then open the pdf that you require, close the pdf, go back to applescript stop recording and save as a classic applet.

    Then in flash create a button, assign an fscommand to the button,
    Command field should be "exec"
    Argument field should be–title of script

    Good Luck

  4. #4
    juggernart me2222's Avatar
    Join Date
    Jun 2000
    Posts
    1,322

  5. #5
    Member
    Join Date
    May 2001
    Posts
    51
    This may have been confusing - it depends on if you're opening a pdf with a swf online or on the user's hard drive (or CD-ROM)

    Do my suggestion if it's online, or me2222's or dooly's if it's on the computer.

  6. #6
    Junior Member
    Join Date
    Jun 2001
    Posts
    13
    you might try compressing the file ie. zip, the file the browser should then prompt to save to disc

  7. #7
    Junior Member
    Join Date
    Jun 2001
    Posts
    13
    forgot to say GetUrl ("yourfile.zip")

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