# Linking to local PDFs and files from Flash exe (on CD Rom)

**URL:** <https://forum.kirupa.com/t/linking-to-local-pdfs-and-files-from-flash-exe-on-cd-rom/280843>\
**Category:** flash\
**Created:** [February 2, 2009, 2:15am UTC](https://forum.kirupa.com/t/linking-to-local-pdfs-and-files-from-flash-exe-on-cd-rom/280843 "2009-02-02T02:15:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ponch](https://avatars.discourse-cdn.com/v4/letter/p/bcef8e/32.png) [@Ponch](https://forum.kirupa.com/u/Ponch)\
**Post date:** [February 2, 2009, 2:15am UTC](https://forum.kirupa.com/t/linking-to-local-pdfs-and-files-from-flash-exe-on-cd-rom/280843/1 "2009-02-02T02:15:44Z")

</div>

Hi,

I’m creating a flash movie which will be published as an exe - it’s to be burnt onto a CD Rom. I need to link to word documents and PDFs from this flash file.

Currently, my button action looks like this:

myButton\_mc.onRelease = function(){  
getURL("\files est.html", “\_blank”)  
};

this opens the browser, but the url comes up with the letters all muddled at the end:

file:///C|/Documents%20and%20Settings/Ponch/My%20Documents/DESIGN/Clients/90ten/DESIGN/ **filesest.pdf**

**you can see that instead of using “\files est.html” as the path, it’s changed to “filesest.pdf”.**

Any ideas what is going wrong?

I’ve also tried (with forward slashes):  
pdfNav2Link1\_mc.onRelease = function(){  
getURL("/files/test.html", “\_blank”)  
};

and (not specifying a window):  
[INDENT]pdfNav2Link1\_mc.onRelease = function(){  
[/INDENT] getURL("/files/test.html")  
};

and (adding to dots and to backward slashes before the URL):  
pdfNav2Link1\_mc.onRelease = function(){  
getURL("…\files est.pdf", “\_blank”)  
};

Any help greatly appreciated.

Ponch
