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 soyou can also call other swf files into the main exe file like soPHP Code:myButton.onRelease = function()
{
fscommand("exec", "callme.exe");
};
it would be the same with the batch file,PHP Code:myButton.onRelease = function()
{
loadMovie("callme.swf",1);
};
and the simple batch file could contain something like soPHP Code:myButton.onRelease = function()
{
fscommand("exec","callme.bat");
};
if you are using windows then it would launch notepad.Code:start "c:\windows\system32" notepad.exe
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/





Reply With Quote