A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [CS3] how to open a pdf from flash?

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Posts
    9

    [CS3] how to open a pdf from flash?

    I am trying to open a pdf file from a flash swf, and also a flash projector on a mac.

    I ideally want the pdf document to download, or at least open up in a browser window so it can be printed.

    I cannot get either to work. I've looked at a ton of online forums and have found no answers.

    Also, on my flash projector how do I get that to open up the pdf file.

    I dont know how any of this works.

    I need to know the specifics.

    Thanks!

  2. #2
    anyone else hear that? flashpipe1's Avatar
    Join Date
    Jan 2003
    Location
    Upstate NY
    Posts
    1,930
    If the pdf is online at the same domain as the swf file, you should just be able to use something like:

    Code:
    getURL("http://www.somedomain.com/document.pdf","_blank");
    Hope that helps!!
    Love like you've never been hurt, live like there's no tomorrow and dance like nobody's watching.

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