See topic. I am bored so i am making a “flash wallpaper,” just to see if it could work out well. I want to be able to click on a button and have it open up a program, like AIM. i tried getURL, but then it brings up the “download” box, where it asks you to open, save, etc. is there a way that i can make it open a file directly?
i tried using fscommand exec, C:/folder/file.exe, but nothing happened.
please help me out.
system
March 27, 2003, 1:02am
2
I don’t think so…
If I’m correct, that would be a security violation from your OS…
I think…
Rev
system
March 27, 2003, 1:14am
3
i was thinking that too, but i thought there might be SOME way to do it, because i’m doing it all locally. no internet involved, just the web browser.
system
March 27, 2003, 1:16am
4
yes, you can.
fscommand(“exec”, “file.exe”);
system
March 27, 2003, 1:28am
5
a couple things, first, does that work in MX? someone told that would only work in Flash5. and another, can i ope exes from a different folder, like fscommand(“exec”, “C:\folder\file.exe”);?
system
March 27, 2003, 6:17am
6
I hope that doesn’t work. That would mean Flash poses a serious security threat to your computer.
system
March 27, 2003, 6:23am
7
why would you want to load an .exe from a local machine?
system
March 27, 2003, 6:39am
8
In Windows, it should prompt for open/save, etc.
I’m sure if it could, it would have been exploited by now.
Rev
system
March 27, 2003, 6:49am
9
you’re right rev, my bad.
you can definitely call an .exe file from flash, just like a pdf or any
other file. I would just use _blank on it to make it call a new
window first.
i don’t see why this would be any different locally.
system
March 27, 2003, 9:28am
10
You can try the run protocol handler. Download it here:
http://www.blackbit.net/freeware/
I used it when I wanted to run exe’s from a html page’s links
i.e.
<a href="run:notepad.exe">open notepad</a>
I think it should work with Flash too…
system
March 27, 2003, 1:00pm
11
forgot to mention:
it works, but only in a windows projector… you can´t do that on a swf for security reasons
system
March 27, 2003, 3:29pm
12
see that
on (release)
{
getURL(“FSCommand:exec”, “momaiyaz.exe AutoRun_Demos\SQL_Server_in_the_Enterprise\home.exe”);
}
i see that in a flash intro for microsoft it is with out fscommand folder .
but they put a file (( momaiyaz .exe )) in cd and if i remote this file the links dosn’t work ;(
but i can not know how can i build a file like (( momaiyaz .exe ))
system
March 27, 2003, 10:57pm
13
thanks, thybalt. that did it for me. now i can get back to making my flash wallpaper.
system
March 30, 2003, 1:12am
14
with the run protocol handler, does anyone know how to edit the reg files for WinXP Home Edition?
system
March 30, 2003, 4:18am
15
is this to be used with windowblinds?
system
March 30, 2003, 9:22am
17
then how is it going to be used on windows? Active desktop?