hello
how can i open
C:\Windows\notepad.exe
in swishmax 4
thanks and respect
Printable View
hello
how can i open
C:\Windows\notepad.exe
in swishmax 4
thanks and respect
The only way you can launch an external application is via the EXEC FSCommand but that will only work in the standalone Flash player and you can only open applications that exist in a special sandbox folder called "fscommand". Check out this post (http://www.northcode.com/blog/Conquering-FSCommand-EXEC) from my blog for a brief history and some possible solutions to get around the limitations of EXEC.
thank you Northcode
i know this way but i want run it without fscommand folder
i want run it directly
thanks and respect
If you want to run something outside the FSCommand folder you can use my proxy tool, explained in my post. You can also search for proxy in the Standalone & Applications forum here and find a LOT of posts about it (people have been using it for years).
Unless you have a tool like Proxy or a third party SWF2EXE tool, you can't launch EXE files from Flash.
file here
What you want can't be done with the standard Flash player, but feel free to keep trying...
is it possible to use javascript in actionscript 3
ex: javascript(window.open("xxxxxxxxxxxxxxxxxxxxxxx")
i tried but not work fine
thanks
No. JavaScript would have to be executed by the browser. And even if you could use JavaScript or open a URL from Flash running in a browser, browser security would prevent you from launching the EXE.
The Standalone & Applications section of the board here was concerned with this very topic for a lot of years. I've been answering different versions of this same question there since 2002.
If you want a single EXE file that can launch an application you will have to use a SWF2EXE tool.
There are some free SWF2EXE tools that might work, you'll have to try them to find out which ones have the functionality you need. There are also commercial tools that will definitely work, although most of them are dead and gone now.