i need a little help with a problem i am encountering
until recently i have been using flash 5, and have just upgraded to flash mx
unfortunately i have been working on a project in flash 5 for some time, and the change seems to have effected the workings of my project
in particular, i am using an fscommand to open & close .exe projector files made from flash
the previous command was:
on (release) {
fscommand(“exec”, “file.exe”);
}
on (release) {
fscommand(“quit”);
}
but this no longer works when the file is published & projected using flash mx…
I know it is a difference between the 2 versions of flash, because files i have projected to .exe using flash 5 still work, and they will exec flash mx projected files, but flash mx projected files will not exec anything at all…
The exec command is used to launch an external application. In Macromedia Flash MX the external application must be in a subfolder named fscommand. This subfolder must be in the same directory as the projector which uses the fscommand action. This security restriction helps prevent malicious use of the exec option.
The following script launches the Windows application someApplication.exe, which is in the fscommand folder on the same level as the projector:
on (release) {
fscommand ("exec", "someApplication.exe");
}
[size=1]Note: The fscommand subfolder path is not used in the argument. Place someApplication.exe inside the fscommand folder, but just use the name of the application in the argument.[/size]
Thankyou for your help, this does work, but truly screws my project, because the design is calling for .exe projector files that are in the same directory, & i can’t have a sub dir called fscommand inside a sub dir called fscommand & so on, I need to ti call from the same dir…