Ive encountered the same problem recently, but got it working after some hard work. Here is what i learned:
-
You can only do what you are asking if it is in a Flash published eve or a standalone exe.
-
That said I’ll use launching a pdf as an example (but search for some path names to tweak it for a app on a C:/ drive though I imagine the technique is the same for what you want to do: next create a .bat file with this info:
@echo OFF
START mypdf.pdf
EXIT
save it as batfile.bat
3.next in flash on your button that will do whatever put this actionscript on it:
on(release){
fscommand (“exec”, “batfile.bat”);
Endon
}
4.Then publish your Flash movie as an exe.
5 FSCOMMANDS Come into play next; Flash recognizes these commands to talk to windows. For my example place all your assets in a folder called FSCOMMANDS with the flash exe outside it.
- Run the flash standalone and press your button …should work. The Flash exe knows to look to find the .bat in the FSCOMMANDS folder.
&. (for what you want look up systems paths but FSCOMMANDS to run it off the C:/ drive should be easier and thoeretically without a .bat file but I havent tried that and I’ll leave that up to you…but let me know if this helps you or not.