Click to See Complete Forum and Search --> : Launching Applications in flash with Actionscript


rapidz
11-21-2006, 05:26 AM
Basically I need a button in flash, to launch an application called Test1.exe.

This is the actionscript I'm using however it still doesn't work. I am publishing my main flash file as a .exe aswell..

on (release) {
fscommand("exec", "Test1.exe");
}



Can someone tell me why this isn't working?

trivedi_gt
11-21-2006, 05:33 AM
if u want load movie in your flash exe than simply apply load movie action on the button.

rapidz
11-21-2006, 05:42 AM
its not a movie i need to load. I need to load an application, that will delete the flash file that is currently opened.

rapidz
11-21-2006, 05:48 AM
ok i found out how.

You need to put the file you want to execute in a sub-directory of the current directory your file is in.

So if flash.exe is is "My Documents" you need to create a sub-directory called "fscommand". You must name it "fscommand", and place the application you wish to launch inside this directory.