<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.0">
<channel><title><![CDATA[ActionScript.org Flash, Flex and ActionScript Resources - Comments for article: Execute Files from Local Presentations]]></title><link>http://www.actionscript.org/resources</link><description /><language>en-us</language><copyright><![CDATA[http://www.actionscript.org/resources]]></copyright><generator>N/A</generator><webMaster>general.redirect@gmail.com</webMaster><lastBuildDate>Sat, 21 Nov 2009 18:41:24 CST</lastBuildDate><ttl>20</ttl><item><title><![CDATA[Comment #1]]></title><link>http://www.actionscript.org/resources/articles/32/1/Execute-Files-from-Local-Presentations/Page1.html#Comment4723</link><description><![CDATA[Yeah, your example really helps when trying to open some pps xls or some exe's ! but, i would like to know if there is any way to open this kind of documents withouth having to see the MSDOS window. like opening the MSDOS window under the other windows that may be open.
Great Tutorial!
Thanks!<br/><br/>
(Comment posted by Rodolfo at 1:37 pm, Tue 17th Jul 2007)]]></description><author>no@spam.com (Rodolfo)</author><pubDate><![CDATA[Tue, 17 Jul 2007 13:37:08 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/32/1/Execute-Files-from-Local-Presentations/Page1.html#Comment4723</guid></item><item><title><![CDATA[Comment #2]]></title><link>http://www.actionscript.org/resources/articles/32/1/Execute-Files-from-Local-Presentations/Page1.html#Comment7196</link><description><![CDATA[Yeah, there is another way! Try the following...

on (press) {
	getURL("file:///C:/Program Files/Microsoft Office/OFFICE11/OUTLOOK.EXE", "");
}

Your browse will prompt you to run the file...<br/><br/>
(Comment posted by Rudi Britz at 6:04 am, Wed 31st Oct 2007)]]></description><author>no@spam.com (Rudi Britz)</author><pubDate><![CDATA[Wed, 31 Oct 2007 06:04:18 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/32/1/Execute-Files-from-Local-Presentations/Page1.html#Comment7196</guid></item><item><title><![CDATA[Comment #3]]></title><link>http://www.actionscript.org/resources/articles/32/1/Execute-Files-from-Local-Presentations/Page1.html#Comment11071</link><description><![CDATA[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.

http://www.programmingtalk.com/archive/index.php/t-32357.html<br/><br/>
(Comment posted by arif at 7:09 am, Sun 27th Apr 2008)]]></description><author>no@spam.com (arif)</author><pubDate><![CDATA[Sun, 27 Apr 2008 07:09:38 CDT]]></pubDate><guid isPermaLink="true">http://www.actionscript.org/resources/articles/32/1/Execute-Files-from-Local-Presentations/Page1.html#Comment11071</guid></item></channel></rss>