FScommand("exec","some.exe") works.
FScommand("exec","http://127.0.0.1/some.exe") doesn't.
does "some.exe" have to be on the same HD as the Flash Projector for "exec" to work?
Or can we use a http or Network address for it?
Thanks
Dev
Printable View
FScommand("exec","some.exe") works.
FScommand("exec","http://127.0.0.1/some.exe") doesn't.
does "some.exe" have to be on the same HD as the Flash Projector for "exec" to work?
Or can we use a http or Network address for it?
Thanks
Dev
I think FS in FScommand means "for standalone", that means you can use it in standalone player only. So, i don't think it will work on network.
I get your point. But I am building a "standalone" which interacts with a Network server (to load variables, get files etc). It does work.Quote:
Originally posted by Bzdero
I think FS in FScommand means "for standalone", that means you can use it in standalone player only. So, i don't think it will work on network.
but when I try:
FScommand("exec","http://127.0.0.1/some.exe") doesn't.
Flash doesn't find some.exe and I need it to.
Maybe if I mapped a local drive to the Network folder containing some.exe I could use the absolute path eg
FScommand("exec","X:/some.exe") ;
Anyone got any ideas?
Dev
for standalone functions of FSCommand, check:
http://www.were-here.com/forums/show...threadid=53676
http://64.224.111.148/forums/showthr...threadid=62885
http://www.were-here.com/forums/show...threadid=63000
etc. etc.
but if you want to triger some .exe on the server, use:
loadVariables("http://127.0.0.1/some.exe","");
for example...
and of course you can access mapped drive with:
fscommand("exec","X:\\some.exe");
hope it helps...
Thanks sxdesign,
I will give it a try now.
Dev
Can I use this command from a browser not standalone:
loadVariables("http://127.0.0.1/some.exe?var1=whatever","");
to send the param var1 to some.exe ?
If so will it work with local files ie
loadVariables("C:/some.exe?var1=whatever","");
I have tried with no success so far.
Thanks
Dev