Hi,
Make a folder called "fscommand", put the exe files you wish to call from the main exe inside the folder,
You can call the exe files from main like so
PHP Code:
myButton.onRelease = function()
{
fscommand("exec", "callme.exe");
};
you can also call other swf files into the main exe file like so
PHP Code:
myButton.onRelease = function()
{
loadMovie("callme.swf",1);
};
it would be the same with the batch file,
PHP Code:
myButton.onRelease = function()
{
fscommand("exec","callme.bat");
};
and the simple batch file could contain something like so
Code:
start "c:\windows\system32" notepad.exe
if you are using windows then it would launch notepad.
But you can not load an exe file into an exe file
Adobe info:
The exec command can contain only the characters A-Z, a-z, 0-9, period ()., and underscore (_). The exec command runs in the subdirectory fscommand only. In other words, if you use the fscommand exec command to call an application, the application must reside in a subdirectory named fscommand.
you might wish to check out one of the guys who posts here website, which is dedicated to projector files amongst other things
http://www.northcode.com/