A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: using a relative path with getURL

  1. #1
    Member
    Join Date
    Nov 2000
    Posts
    60

    Smile

    hi all!

    can anyone help me figure out how to load a PDF from flash?
    if i use an absolute URL i can do it but if i try a relative URL -- no dice.

    the reason i need a relative URL is that this project is going to be a standalone exe on a CD. the PDF's will also be on the CD. For this reason i need to use a relative URL.

    any help?

  2. #2
    Now listen heah! Mac8myPC's Avatar
    Join Date
    Aug 2000
    Location
    Steve Job's Doorstep
    Posts
    695
    you might be able to use the fscommand exec to open the pdf. check your actionscript reference book for more info pg 145 i think

  3. #3
    Member
    Join Date
    Nov 2000
    Posts
    60
    okay, but all i see is the ability to open up an application not a specific file.
    do you know something that i don't?

  4. #4
    Junior Member
    Join Date
    Oct 2000
    Posts
    6
    on (release) {
    getURL ("../folder/file.pdf, "_blank");
    }

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