# Opening an external file

**URL:** <https://forum.kirupa.com/t/opening-an-external-file/119720>\
**Category:** Uncategorized\
**Created:** [August 17, 2004, 5:04pm UTC](https://forum.kirupa.com/t/opening-an-external-file/119720 "2004-08-17T17:04:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hcraig](https://avatars.discourse-cdn.com/v4/letter/h/f19dbf/32.png) [@hcraig](https://forum.kirupa.com/u/hcraig)\
**Post date:** [August 17, 2004, 5:04pm UTC](https://forum.kirupa.com/t/opening-an-external-file/119720/1 "2004-08-17T17:04:16Z")

</div>

Hi, I’m using flash to create an exe file for a cd. From the exe file I’d like to open a pdf file externally. I got it to work but the pdf opens behind the main exe file. Any help is greatly appreciated.

thank you

this is the code I’m using

on (release) {  
getURL(“MillenTrainingSheet.pdf”, “\_top”);  
}

---

<div class="post-metadata">

**Author:** ![Sandman9](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@Sandman9](https://forum.kirupa.com/u/Sandman9)\
**Post date:** [August 17, 2004, 7:00pm UTC](https://forum.kirupa.com/t/opening-an-external-file/119720/2 "2004-08-17T19:00:35Z")

</div>

you tried “\_blank” instead of \_top?

---

<div class="post-metadata">

**Author:** ![Gumby19](https://avatars.discourse-cdn.com/v4/letter/g/3da27b/32.png) [@Gumby19](https://forum.kirupa.com/u/Gumby19)\
**Post date:** [August 17, 2004, 9:10pm UTC](https://forum.kirupa.com/t/opening-an-external-file/119720/3 "2004-08-17T21:10:58Z")

</div>

Are you using the fullscreen fscommand. If so, the only way I’ve found around it is to put:  
on (release) {  
fscommand(“fullscreen”, false);  
getURL(“blahblah.pdf”, \_blank);  
}

I also include a maximize button in the top corner to hit after they close the pdf so that sets fullscreen back to true.
