PDA

View Full Version : Question about linking .exes with flash mx


terps3d
07-28-2004, 03:26 PM
Question,

I am trying to make a cd. I took notice that paths are not working with the fscommand in MX. I have 2 files. The first 1 is toc.exe and the second is help.exe in the fscommand folder. On the toc.exe i am using this code and its working.

on (release) {
fscommand("exec", "help.exe");
fscommand("quit");
}

it calls up the help.exe in the fscommand folder. I am trying to go back from help.exe out of the fscommand folder back to toc.exe and its not working.

on (release) {
fscommand("exec", "./toc.exe");
fscommand("quit");
}

this is not working. I tried everything possible and no path is working in MX version. It works with flash player 5 projector files but not mx. Seems like paths are not working in MX.

Can some one help me figure this out its really giving me a run around! Just trying to go back. Like a back button.

Thanks tim

Atomik Support
07-29-2004, 09:54 PM
Not much you can do about it. fscommand('exec', 'myexe.exe') will only work when myexe.exe is in the fscommand folder, not in a subfolder, nor in a parent folder.
In flash 5 this worked, but not in MX due to security issues.
You could work with a .bat file (on win) or an applescript file (on mac). A bat file can launch an application in any folder. Put the bat file in the fscommand folder and launch the bat file from flash.

terps3d
07-30-2004, 04:13 PM
thanks for the info. I kinda figured that was the issue. just thought I would be able to figure something around it. I will try the bat file and i can always down grade my mx files to 5 versions. Thanks for the help! Does Flash MX 2004 have the same issue as MX, does anyone know?

Tim

Atomik Support
07-30-2004, 08:01 PM
Yes, MX2004 handles the exec fscommand in the same way.

farafiro
08-10-2004, 03:05 PM
u may like to test some 3rd party programs like screenweaver, flashjester, flash studio,.....