Shoutbox

How to open .exe program from a Flash Movie? - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Skype & Technology (/forumdisplay.php?fid=9)
+---- Forum: Tech Talk (/forumdisplay.php?fid=17)
+----- Thread: How to open .exe program from a Flash Movie? (/showthread.php?tid=58734)

How to open .exe program from a Flash Movie? by YottabyteWizard on 04-25-2006 at 07:18 AM

I'm trying to open a program from within a flash movie.

I know the only way is using fscommand(command,parameter);

but i can't make it work... does it have to be on the same folder of the movie?


RE: How to open .exe program from a Flash Movie? by zaher1988 on 04-25-2006 at 09:01 AM

use this

code:
on (release) {
   fscommand ("exec", "file.exe");
}



donno if you have missed any part, as this is the only way.
RE: How to open .exe program from a Flash Movie? by RaceProUK on 04-25-2006 at 04:17 PM

Making sure you specify the full path to the EXE, otherwise the system may not find it.


RE: How to open .exe program from a Flash Movie? by YottabyteWizard on 04-26-2006 at 03:46 AM

quote:
Originally posted by raceprouk
Making sure you specify the full path to the EXE, otherwise the system may not find it.
I tried using full path... still doesn't work.

My code is this one:
code:
on(release) {
fscommand ("exec","c:\windows\system32\notepad.exe");
}


RE: RE: How to open .exe program from a Flash Movie? by The Brain on 04-26-2006 at 06:18 AM

quote:
Originally posted by YottabyteWIzard

My code is this one:
code:
on(release) {
fscommad ("exec","c:\windows\system32\notepad.exe");
}



there is an 'n' is fscommand.

Unless that was just a typo in your post, not in your real code....
RE: How to open .exe program from a Flash Movie? by YottabyteWizard on 04-26-2006 at 06:58 AM

oops, yeh sorry. The problem is on the post... i know my real code on my movie is correct because is blue colored :P


RE: How to open .exe program from a Flash Movie? by Yousef on 04-26-2006 at 07:02 AM

It won't work in the  browser, try running it in the flash stand alone player (publish as .exe first).