Is there a possibility to run an exe file with a button?
The exe file is on the local drive C:\...
Thanks all for help
Printable View
Is there a possibility to run an exe file with a button?
The exe file is on the local drive C:\...
Thanks all for help
No. Flash has a security sandbox as they call it. A flash projector can call an EXE but only if it's in a certain sub directory under the one that the flash projector is in.
Hi Bret
...that means, if my own exe file is in the same directory it works?
If yes, how is the syntax to call an exe....?
not same directory, there is a special sub directory it has to be in
Look up FSCOMMAND at http://livedocs.macromedia.com/flash...rt4_ASLR2.html
but here's the relevant info from that site
Quote:
fscommand function
fscommand(command:String, parameters:String) : Void
Command Paramater
exec Path to application
Executes an application from within the projector.
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 exec command to call an application, the application must reside in a subdirectory named fscommand. The exec command works only from within a Flash projector file.
thanks a lot Bret
I will try it...