Skip to main content
rasoolg18868567
Participating Frequently
July 3, 2016
Answered

Fscommand

  • July 3, 2016
  • 1 reply
  • 1822 views

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,.

This topic has been closed for replies.
Correct answer kglad

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.


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.

1 reply

kglad
Community Expert
Community Expert
July 3, 2016

what code executes when a button is clicked?

rasoolg18868567
Participating Frequently
July 3, 2016

on (release) {

    fscommand("exec","WarKey.bat");

}

kglad
Community Expert
Community Expert
July 4, 2016

what's in WarKey.bat?