# Open application, launch program

**URL:** <https://forum.kirupa.com/t/open-application-launch-program/26554>\
**Category:** Uncategorized\
**Created:** [July 24, 2003, 1:59am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554 "2003-07-24T01:59:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![LiquidRage](https://avatars.discourse-cdn.com/v4/letter/l/50afbb/32.png) [@LiquidRage](https://forum.kirupa.com/u/LiquidRage)\
**Post date:** [July 24, 2003, 1:59am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/1 "2003-07-24T01:59:47Z")

</div>

HI!!! everyone. well im having some problems and i really need some help from u guys & girls so…i need a script that can open up other programs or install other programs from flash ive never really needed to do this before so theres always a firstime right?! hehe well i hope u guys can help me with this little and im sure simple to u guys problem but i need the help im not really new to flash script but im not quite to some of u guys level YET! but i hope i will someday 😃 well plz help a guy out thanx

---

<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:** [July 24, 2003, 2:03am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/2 "2003-07-24T02:03:42Z")

</div>

LiquidRage, dont crosspost.  
🙂

---

<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:** [July 24, 2003, 2:12am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/3 "2003-07-24T02:12:16Z")

</div>

sorry …:thumb:

---

<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:** [July 24, 2003, 2:27am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/4 "2003-07-24T02:27:32Z")

</div>

I think you can launch another application from within the flash projector.[AS]on (press) {  
fscommand(“exec”, “yourfile.exe”);  
}[/AS]Be sure your exe file is inside a folder called _fscommand_

---

<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:** [July 24, 2003, 2:40am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/5 "2003-07-24T02:40:08Z")

</div>

thanx 😃 ill try it out right now 😃

---

<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:** [July 24, 2003, 2:44am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/6 "2003-07-24T02:44:17Z")

</div>

ok so if i creat a button in flash and where it says  
(“exec”, “yourfile.exe”); \<\<\< under yourfile.exe. that is where i put the file name? well im sure there is where it goes but i try it and it doesnt work so for example i creat the button and put that script can i just put a simple exe file like (flash.exe) and it will open it? or do i have to make it different?

---

<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:** [July 24, 2003, 2:48am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/7 "2003-07-24T02:48:37Z")

</div>

It does work. Be sure to publish as a projector and place the exe file inside a folder called fscommand.

---

<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:** [July 24, 2003, 2:52am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/8 "2003-07-24T02:52:12Z")

</div>

im sorry it says something about “The Serialization Dll/Lib does not exist”…what does that mean?

---

<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:** [July 24, 2003, 2:58am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/9 "2003-07-24T02:58:13Z")

</div>

Download this example:

> **[Yahoo Small Business - Cheap Domains, Web Hosting, Website Builder, Ecommerce...](https://smallbusiness.yahoo.com/)**
>
> Yahoo Small Business Offers Cheap Domain Names, Web Hosting, Easy Website Builder, Business Email, Local Listings, and Ecommerce Solutions for Your Small Business.

---

<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:** [July 24, 2003, 3:02am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/10 "2003-07-24T03:02:29Z")

</div>

wow thats cool…but can u send me the fla. so that i can just see how exactly u did it ? that way i can see the script…and i can make sure i learn how to do this 😃 …i really want to learn this stuff 😃

---

<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:** [July 24, 2003, 3:04am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/11 "2003-07-24T03:04:31Z")

</div>

I used this code on a button:[AS]on (press) {  
fscommand(“exec”, “notepad.exe”);  
}[/AS]

---

<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:** [July 24, 2003, 3:47am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/12 "2003-07-24T03:47:07Z")

</div>

ok so i put the exe file in the folder but it still wont work. im not sure if im doing this right. so what im going to do is post the file so u can see if for ur self 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:** [July 24, 2003, 3:56am UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/13 "2003-07-24T03:56:56Z")

</div>

I cant open rar files…  
But remember this:  
If the path to your you projector file is:  
**c:\my documents\myprojector.exe**

The path to the file you want to open should be:  
**c:\my documents\fscommand\fileyouwanttoopen.exe**

---

<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:** [July 24, 2003, 7:30pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/14 "2003-07-24T19:30:11Z")

</div>

o k so i try and try and it doesnt work i just dont know what im doing wrong im following ur instructions…but it still doesnt work…is there someother script that i can use?

---

<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:** [July 24, 2003, 7:33pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/15 "2003-07-24T19:33:05Z")

</div>

I thnk its the only way flash handles launching other applications.  
I cant see why it isnt working for you.  
:-\

---

<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:** [July 24, 2003, 7:41pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/16 "2003-07-24T19:41:43Z")

</div>

i suck!!!..hmmm!..hmmm well i dont know …hm. i think it might be the exe im useing do u think it would work if im trying to open up flash? like this  
on (press) {  
fscommand(“exec”, “flash.exe”);  
}  
but if im trying to open flash…in the fscommand do i need to put all of the support files?

---

<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:** [July 24, 2003, 7:45pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/17 "2003-07-24T19:45:13Z")

</div>

Try opening the notepad.exe file  
Put the file inside the fscommand folder.

But remember this:  
If the path to your you projector file is:  
c:\my documents\myprojector.exe

The path to the file you want to open should be:  
c:\my documents\fscommand  
otepad.exe

And apply the following code to a button in flash:

```auto
on (press) {
        fscommand("exec", "notepad.exe");
}

```

---

<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:** [July 24, 2003, 7:50pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/18 "2003-07-24T19:50:49Z")

</div>

ok so i put the notepad.exe file in the folder and when i try it,it say something about some dlls not being there. can u tell me how u got ur notepad.exe file?and then i try to just grab the short cut and right click and change the name and just type in notepad.exe. and the button doesnt say or do antying

---

<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:** [July 24, 2003, 7:56pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/19 "2003-07-24T19:56:12Z")

</div>

Copy the file from Windows folder.  
I attached it a few posts b4…

---

<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:** [July 24, 2003, 8:13pm UTC](https://forum.kirupa.com/t/open-application-launch-program/26554/20 "2003-07-24T20:13:39Z")

</div>

i dont know what it is i think flash hates me now …but its still not working…hm…i guess ill see what i can do…but i dont what to do heheheh (-:

[Next page](https://forum.kirupa.com/t/open-application-launch-program/26554.md?page=2)
