Skip to main content
Participant
October 23, 2006
Question

Load external exe

  • October 23, 2006
  • 2 replies
  • 586 views
I need to open a flash EXE full screen from within another flash exe. How can i do this without it opeing in a browser?
Thanks
L.
This topic has been closed for replies.

2 replies

Participating Frequently
October 23, 2006
let say you want to load flash2.exe from flash1.exe
create a folder called "fscommand" at the same directory of your flash1.exe
put your flash2.exe inside the folder mentioned above.

in flash1.exe
fscommand("exec", "flash2.exe"); //to execute flash2.exe

in flash2.exe
fscommand("fullscreen", "true"); //to run current flash movie in fullscreen mode
lou_gamesAuthor
Participant
October 23, 2006
right on! Cheers.
Inspiring
October 23, 2006


lou_games wrote:
> I need to open a flash EXE full screen from within another flash exe. How can i do this without it opeing in a browser?
> Thanks

on the first frame place :
fscommand("fullscreen", "true");

check help files for "fscommand" to find more useful commands for projector use.


--
Best Regards

Urami


--


<urami>
If you want to mail me - DO NOT LAUGH AT MY ADDRESS
</urami>
lou_gamesAuthor
Participant
October 23, 2006
Thanks,
I looked up fscommand, and what i needed to do was use this:
fscommand("exec", "application.exe")
Where you put the exe in a folder named "fscommand". Instead I wrote a .bat file and ran that:

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

The bat file contained:
---------------------------
@ echo off
start ../application.exe
exit
---------------------------------------

this ran application.exe from the location of the application which called it, rather than in the fscommand folder.
Hope this helps others too.

Cheers,
L.