Click to See Complete Forum and Search --> : run *.exe file from c:\....
Uwe S.
05-02-2006, 05:39 AM
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
blanius
05-02-2006, 10:20 AM
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.
Uwe S.
05-02-2006, 11:29 AM
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....?
blanius
05-02-2006, 01:38 PM
not same directory, there is a special sub directory it has to be in
Look up FSCOMMAND at http://livedocs.macromedia.com/flash/8/main/wwhelp/wwhimpl/js/html/wwhelp.htm?href=Part4_ASLR2.html
but here's the relevant info from that site
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.
Uwe S.
05-03-2006, 04:46 AM
thanks a lot Bret
I will try it...
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.