# Open a PDF from flash.exe or projector

**URL:** https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762
**Category:** flash
**Created:** [May 26, 2003, 5:16am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762 "2003-05-26T05:16:12Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![1111](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/1111/32/206_2.png) [@1111](https://forum.kirupa.com/u/1111)
#### Post date: [May 26, 2003, 5:16am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/1 "2003-05-26T05:16:12Z")

</div>

Hi, a stoopido question.

I just want to open a PDF document from a .exe or projector. Do you have to call it via URL or fsCommand. I am confused…?☹

Any help is appreciated!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 5:49am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/2 "2003-05-26T05:49:56Z")

</div>

GetURL will do. 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 5:58am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/3 "2003-05-26T05:58:10Z")

</div>

Hi, i have done that, i put this basic line in:

on (release) {  
getURL(“test.pdf”);

}

The Pdf is in the same location as the projector…  
Still not happening?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 6:01am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/4 "2003-05-26T06:01:02Z")

</div>

Try this…

[AS]  
on (release) {  
getURL(“test.pdf”,"\_blank",“POST”);  
}  
[/AS]

The PDF will open in a new window. 🙂

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 6:06am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/5 "2003-05-26T06:06:55Z")

</div>

man, this is the ultimate basic thing, but Still no Luck… It works from a Webpage fine, but not from my Projector or an EXE. Any resons u can think of?

I really can’t understand why.  
thanks for your help…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 6:14am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/6 "2003-05-26T06:14:24Z")

</div>

open in projector…mmm  
how bout the using the fscommand?  
make a fscommand folder and place ur pdf in folder.  
Make a batch file in that folder as well to open the pdf.  
using fscommand in flash to open the batch file.  
Hope it work coz i tried open an avi before but not pdf.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 6:14am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/7 "2003-05-26T06:14:55Z")

</div>

ohh… that’s terrible. Try to check everything again. Or make another dummy and test it if it will works. ok!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 6:20am UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/8 "2003-05-26T06:20:16Z")

</div>

Thanks guys, I guess making a fscommand must be the only way.

The only problem, Cd is going on Mac & Pc, so i guess i have to call the exec command for a pc & applescript for Mac?..

I will try, but it is going to get way complex =(

Thanks again!

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [May 26, 2003, 2:05pm UTC](https://forum.kirupa.com/t/open-a-pdf-from-flash-exe-or-projector/21762/9 "2003-05-26T14:05:57Z")

</div>

yes fscommand will do! …but you should use the flash 5 version… i mean you should publish it in flash 5 format for the f5 has tons of fscommand support! :thumb:
