Using FScommand in flash, you can launch external applications.
Things to note are -
1.
You can only do this from a projector (exe made using publish),
not a SWF.
2.
The external executable file has to be in a subfolder named
"fscommand" in the same folder as your projector file (this is
for some security reasons).
3.
Using this you can only launch an EXE or a BAT file.
4.
Flash MX does not let you pass any parameters to the external
executable. If you want to work in flash 5, this link will be of particular
interest to you http://flashtools.net/.
Now, if you want to launch anything like an Excel or Word document or any other
document like a PDF or maybe even a PowerPoint presentation, you this tool
by flashgeek.com.
This is the code that will go on any button in your flash projector file.
on (release) {
fscommand ("exec", "flashgeek.exe");
}
Now flashgeek.exe
goes in the fscommand folder along with the text file "flashgeek.txt".
You have to specify the path and file name of the object you would like to open
in flashgeek.txt (the path can be relative or hardcoded).
Please note
1.
Name the executable and the text file the same name (like
flashgeek.exe and flashgeek.txt).
2.
For each document that you want to open, you'll have to have
a set of the exe and text file like flashgeek1.exe and flashgeek1.txt and
so on.
You can also check freemx.
It is a similar tool with advanced features like detecting flash plug-in etc.