Advaced Flash! How do I run and exe from flash?

  • Qsic
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 30, 2005
  • Posts: 35
  • Status: Offline

Post April 7th, 2005, 11:30 am

Ok I have a folder with a flash file in it plus another totally independent exe. How do I create a script that will run the exe file when I press a button inside the flash movie. I have the button already to go now I just need it to run the exe. I don't care if it pops up in a totally diffrent window. I just need it to run so they can install a program directly from flash.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post April 7th, 2005, 11:30 am

  • Qsic
  • Beginner
  • Beginner
  • No Avatar
  • Joined: Mar 30, 2005
  • Posts: 35
  • Status: Offline

Post April 7th, 2005, 2:35 pm

Pretty please. Thanks
  • R.L.D.
  • Student
  • Student
  • User avatar
  • Joined: Apr 07, 2005
  • Posts: 81
  • Loc: Astoria,Queens
  • Status: Offline

Post April 7th, 2005, 3:53 pm

try linking the button to where the exe file is on the server just as if you woulld to link a URL

but that is going to ask the person that clicks on it if they want to save to disk or open the exe file.
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 22501
  • Loc: Pittsburgh PA
  • Status: Online

Post April 8th, 2005, 7:41 am

This may give you some ideas:
http://www.actionscripts.org/tutorials/ ... ndex.shtml
"The web is a dominatrix. Every where I turn, I see little buttons ordering me to Submit."
Play sports pools and discuss sports topics at Boasting Rights Sports Forum
Get paid to write articles - www.associatedcontent.com

Post May 11th, 2005, 9:08 am

you must use fscommsnd, here is the code for a button:

on(release){
fscommand("exec", "c:\yourdir\yourapp.exe");
}
  • Presto-X
  • Born
  • Born
  • No Avatar
  • Joined: May 21, 2005
  • Posts: 1
  • Status: Offline

Post May 21st, 2005, 2:47 am

Here is yet another helpful link for the fscommand command: http://www.macromedia.com/cfusion/knowl ... 14280#Exec
  • 5N4K3
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 107
  • Status: Offline

Post May 21st, 2005, 9:58 am

yuriythebest wrote:
you must use fscommsnd, here is the code for a button:

on(release){
fscommand("exec", "c:\yourdir\yourapp.exe");
}


In Flash MX 2004 doesn't this only work with projectors and also using a subdirectory named fscommand?
  • 5N4K3
  • Graduate
  • Graduate
  • User avatar
  • Joined: May 19, 2005
  • Posts: 107
  • Status: Offline

Post May 21st, 2005, 10:25 am

SaschArt wrote:
Here is a good and free application for exactly what you need http://soft.saschart.com/

Good luck


Nice app :)
Is it possible to set it's Z order to Always on Bottom?
(Would like to run this or Flash Projector fullscreen but BELOW the taskbar) any ideas how?
  • wiwid
  • Born
  • Born
  • No Avatar
  • Joined: Jul 03, 2009
  • Posts: 1
  • Status: Offline

Post July 3rd, 2009, 9:22 pm

Quote:
on(release){
fscommand("exec", "c:\yourdir\yourapp.exe");
}


I tried that script but not respon to open "path/file.exe",
do yo help me?
  • middayc
  • Novice
  • Novice
  • User avatar
  • Joined: Jun 29, 2009
  • Posts: 24
  • Loc: Slovenia
  • Status: Offline

Post July 4th, 2009, 12:40 pm

do you want to do this when flash is opened in a browser or in standalone local context?

If in a browser this isn't and shuldn't be possible **by any chance** as it would be like the biggest security hole ever.

Post Information

  • Total Posts in this topic: 10 posts
  • Users browsing this forum: sandydoc and 77 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© Unmelted Enterprises 1998-2009. Driven by phpBB © 2001-2009 phpBB Group.