# Opening Word Files

**URL:** <https://forum.kirupa.com/t/opening-word-files/42055>\
**Category:** Uncategorized\
**Created:** [February 4, 2004, 5:28pm UTC](https://forum.kirupa.com/t/opening-word-files/42055 "2004-02-04T17:28:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![xirika](https://avatars.discourse-cdn.com/v4/letter/x/9de053/32.png) [@xirika](https://forum.kirupa.com/u/xirika)\
**Post date:** [February 4, 2004, 5:28pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/1 "2004-02-04T17:28:55Z")

</div>

Hi there!

how do I open a word file in Windows XP (and others!) from a button in a flash presentation?

I sow some tutorials but it didn´t work so well…

Is it possible to open it in a Mac too?

THANKS \*

xirika

---

<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:** [February 4, 2004, 5:54pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/2 "2004-02-04T17:54:44Z")

</div>

[http://www.macromedia.com/support/flash/ts/documents/fscommand\_projectors.htm#Exec](http://www.macromedia.com/support/flash/ts/documents/fscommand_projectors.htm#Exec)

---

<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:** [February 4, 2004, 6:02pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/3 "2004-02-04T18:02:44Z")

</div>

nice…but does it open a specific file?

like imagine I want to open a file named “whatever.doc” where do I specify that?!!

it only shows me how to open applications, not files…

hummm…

---

<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:** [February 4, 2004, 6:10pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/4 "2004-02-04T18:10:31Z")

</div>

> Note: exec is not capable of opening a specific file with an application, just the application itself. One way to open files is to use exec to launch a Windows batch (BAT) file or Macintosh AppleScript file that then opens files in the desired application. A third-party tool that can open specific files on Windows without using batch files is available from Flashjester.

remember these only work in the projector

---

<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:** [February 4, 2004, 7:18pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/5 "2004-02-04T19:18:08Z")

</div>

Ok thanks, i already work it out that way…but opening files I think is not impossible…check this:

(I get this code fom a tutorial named Open Files from local presentations, and it refers to windows Os including XP and to pdf and word files)

filename = “test.word”;  
fscommand (“exec”, "start " + filename;  
fscommand (“exec”, "cmd /c " + filename;

BUT IT DIDN’T WORK!!

the tutorial…[http://www.actionscript.org/tutorials/beginner/exec\_docs/index.shtml](http://www.actionscript.org/tutorials/beginner/exec_docs/index.shtml)

do you know what is this all about?

---

<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:** [February 4, 2004, 7:52pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/6 "2004-02-04T19:52:07Z")

</div>

yea. that’s what you put in the batch file. search the forums for fscommand. this may have been solved already, but like i said, you’re going to have to use a batch file. Flash itself cannot open docs.

---

<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:** [February 5, 2004, 7:59pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/7 "2004-02-05T19:59:27Z")

</div>

hummm…  
what’s a batch file?? 😕

…

---

<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:** [February 5, 2004, 9:37pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/8 "2004-02-05T21:37:41Z")

</div>

search :sigh:

[http://www.kirupaforum.com/forums/search.php?action=showresults&searchid=247372&sortby=lastpost&sortorder=descending](http://www.kirupaforum.com/forums/search.php?action=showresults&searchid=247372&sortby=lastpost&sortorder=descending)

😉

---

<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:** [February 6, 2004, 10:07pm UTC](https://forum.kirupa.com/t/opening-word-files/42055/9 "2004-02-06T22:07:04Z")

</div>

are u using flash mx or flash 5?

cuz a flash mx projector is only allowed to open files that are in its same folder inside a folder called “fscommand” ( u create said folder…) i dont know why, maybe cuz of security issues

but i think that flash 5 does open any file.

anyway if u dont get it to work maybe try using getURL???
