View Full Version : start.exe opening multiple .exe files
derbra1513
03-01-2008, 10:00 PM
Well I am having a bit of a problem here, there was a presentation created in flash but was made in english first. Well then they wanted it translated into French and Spanish which was no problem just used the english version and switched out the XML text. But now they want to be able to launch these 3 different .exe files from a parent one (start screen). and the thing is, is that I need the files to have there own directory. I have tried many things to try to get this to work but no luck.
on(press){
fscommand("exec", "/english/start.exe");
}
now I have made an fscommand folder in the root directory where the startscree.exe is located and placed the english direstory in there as well with no luck
start.exe>fscommand>english>start.exe
start.exe>fscommand>spanish>start.exe
start.exe>fscommand>french>start.exe
Thanks so much for the help!
northcode
03-02-2008, 03:32 PM
You can't pass the path of an EXE file in the EXEC command, it assumes that all the EXE files you are going to launch live in the fscommand folder. To get around this you can launch a BAT file that launches your EXE file. Just have a different BAT file for each application you want to launch.
fscommnad("exec", "start-eng.bat");
fscommnad("exec", "start-fre.bat");
fscommnad("exec", "start-spa.bat");
Make the bat file launch the EXE out of the subfolders in the fscommand folder. You can even pull the main EXE files out of the fscommand folder since the BAT file will be able to access any folder on the CD.
If you think the BAT file looks unprofessional, check out the link brlow for a FREE utility I wrote. The blog post has instructions on how to use the utility (Proxy) and an example so you can see it in action.
Conquering FSCommand EXEC Part-1 : Proxy
kasiaijuz
03-06-2008, 09:55 PM
[QUOTE=northcode;712378]http://www.northcode.com/blog.php/2007/08/07/Conquering-FSCommand-EXEC-Part-1-Proxy]Conquering FSCommand EXEC Part-1 : ProxyQUOTE]
i need to oped .psd file from projector
everything looks great in this example - on this www
but i cant modify the button - actually this is MC
i dont know how to do my own MC that willl be enter .psd file i want.. :(
can anyone help me??
kasiaijuz
03-10-2008, 10:22 PM
hello,
can anyone help me??
northcode
03-11-2008, 02:30 AM
All you can do in Flash is tell it what EXE file to launch. The rest of the work has to be done in the BAT file (if you're trying to use my proxy utility). So just add an fscommand to your FLA and pick an EXE name. Then modify the BAT file so it opens the file you want. Start with the example from my blog. Once you understand how that works, modifying your own code should be easy.
|
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.