Current location: Hot Scripts Forums » General Web Coding » Flash & ActionScript » Run .exe from flash


Run .exe from flash

Closed Thread
  #1 (permalink)  
Old 09-05-06, 04:04 PM
ekskyknaus ekskyknaus is offline
New Member
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Run .exe from flash

I have a somewhat unique desktop background. it is an HTML file with an embedded flash file.

My question is, how can i run my programs through the flash? (if there is an easier way through HTML/JS, that's fine, because i can make the link with flash)

thanks alot,
eric
  #2 (permalink)  
Old 09-06-06, 03:42 AM
UnrealEd's Avatar
UnrealEd UnrealEd is offline
Community Liaison
 
Join Date: May 2005
Location: Antwerp, Belgium
Posts: 3,165
Thanks: 4
Thanked 25 Times in 25 Posts
could you be a little more specific? you want to start programss on your computer, such as mail-program, notepad, etc, through flash?

i don't think it's possible with flash only. just think a little logical: if you could do so in flash, you can access someones pc and execute errors on his computer.

maybe you can use python in combination with flash, as python is a language that can access local settings and programs on your computer. you'll have to learn about sockets, and build sockets in both python en flash, s you can communicate between em. executing programs through python is easy.

Hope this helps you a little bit,
UnrealEd
__________________
"Good judgement comes from experience, and experience comes from bad judgement." - Fred Brooks

  #3 (permalink)  
Old 09-06-06, 09:19 AM
wax0nightmare's Avatar
wax0nightmare wax0nightmare is offline
Newbie Coder
 
Join Date: Aug 2006
Location: Belfast
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Weird..i was actually just thinking today about wanting to do the very same with my desktop today! haha

i know if you want to run a program through flash..you could do something like build your own mp3 player..just link all the music on your compy through to flash and bobs your uncle..that'd be sweet..

though in regards to your question, im a bit like UnrealEd...be specific

Last edited by wax0nightmare; 09-06-06 at 09:20 AM. Reason: typos
  #4 (permalink)  
Old 09-07-06, 11:21 AM
ekskyknaus ekskyknaus is offline
New Member
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
more specific

specifically, i would like to open mail program, winamp, firefox, etc, right on the screen with my own customized (through flash) icons, that exist within the flash document which takes up my entire desktop background.

this is not a hacking tool, it is not even to be distributed. i want this solely to run programs from my computer, on my computer.

thanks
eric
  #5 (permalink)  
Old 09-08-06, 06:14 AM
wax0nightmare's Avatar
wax0nightmare wax0nightmare is offline
Newbie Coder
 
Join Date: Aug 2006
Location: Belfast
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
I pulled this from a website, as far as i can tell your published flash file needs to be a .exe not a .swf

this might through some problems in regards to your dynamic desktop! let me know how you get on

--------------------------------
FROM http://www.19.5degs.com/element/216....lash-projector
--------------------------------

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.

-----------------------------
  #6 (permalink)  
Old 09-10-06, 09:39 PM
ekskyknaus ekskyknaus is offline
New Member
 
Join Date: Sep 2006
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
tried that

i thought that same thing before. in fact, thats exactly what i want to do, however, i can only set .html files as desktop BG, not .exe files. what i would have to do in that case, is build my own program which sets its own (external) flash as the bg, then, when a button is pressed, it runs programs(s) through the executable that i built. that's too much work at this point in time. lol thanks alot though!

eric
Closed Thread

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
CamDate - Adult, Dating & Community Orientated Flash Audio / Video Chat Software CamDate.Biz General Advertisements 1 09-17-07 09:21 AM
Flash Programmer wanted - Romania valheru Job Offers & Assistance 1 07-13-06 09:04 AM
ActionScript not working! Runs when published in Flash 6 but not in Flash 8 Flash_Boi Flash & ActionScript 0 04-04-06 05:46 PM
Outsourcing web design to Bulgaria - Marin Todorov gal_flower Job Offers & Assistance 4 02-14-06 08:05 PM
Php with flash or without tables ? EraseR PHP 0 06-26-04 07:36 AM


All times are GMT -5. The time now is 06:24 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.