Copy link to clipboard
Copied
I have used adobe flash to make an autorun which is a list of some games,I used fscommand in my flash file to load an external executable file when the the button is pressed,but as i have 5 program to open in different buttons several windows are opened which are kind of bothering.is there any similar code to do this job avoiding the mentioned issue ? you can also see the video of the autorun,.
it doesn't make any sense to double click WarKey.exe in flash.
regarding the file WarKey.exe (that's NOT in flash),
rename WarKey.bat to WarKey.exe
create a new Warkey.bat file using notepad that contains the following one line of code:
start WarKey.exe
double click the bat file. does it work correctly? if so, test your flash file.
Copy link to clipboard
Copied
what code executes when a button is clicked?
Copy link to clipboard
Copied
on (release) {
fscommand("exec","WarKey.bat");
}
Copy link to clipboard
Copied
what's in WarKey.bat?
Copy link to clipboard
Copied
I just saw online that to open a exe file we should make it bat first.
Copy link to clipboard
Copied
what's in WarKey.bat?
Copy link to clipboard
Copied
it's just "WarKey.exe" and saved as .bat
Copy link to clipboard
Copied
what happens when you double click WarKey.bat?
Copy link to clipboard
Copied
In flash or in file folder ? If in flash it opens warkey.exe in file folder and the same happens when it's clicked in file folder.
Copy link to clipboard
Copied
it doesn't make any sense to double click WarKey.exe in flash.
regarding the file WarKey.exe (that's NOT in flash),
rename WarKey.bat to WarKey.exe
create a new Warkey.bat file using notepad that contains the following one line of code:
start WarKey.exe
double click the bat file. does it work correctly? if so, test your flash file.
Copy link to clipboard
Copied
"rename WarKey.bat to WarKey.exe
create a new Warkey.bat file using notepad that contains the following one line of code:
start WarKey.exe"
This just worked fine and as i wanted,thanks ![]()
Copy link to clipboard
Copied
you're welcome.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more