Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to link .exe files to each other?

Status
Not open for further replies.

bomayed

Technical User
May 13, 2002
101
AE
Usuallay when you want to link two .swf files , you simply say:

load movie (whatever.swf)

How do we link two .exe files in flash?
 
please clerify your question more specifically...
in general just use the fscommand in flash to call an external file it could be any file even exe.

regards
 
If you have one EXE file calling another EXE file, you have to use the command:

fscommand("exec","yourFile.exe")

With the quotes.

And "yourFile.exe" HAS to be in a subfolder called "fscommand" for it to work. This is a "security feature".
 
great it worked, but now I have two exe files opened!. I want the new exe file to replace the old exe? How can this be achived?

Thank you all , Thanks prasoon and Thank you BooYaKaSha
 
As far as I know this can't be done.

But what's wrong with just using loadMovie to load a new SWF into the original EXE, the same way you mentioned before?
 
bomayed,

BooYaKaSha has a good point here. I think the problem is that you are making Projector applications for each flash movie you are using—you may want to include the redistributable Flash Player separately from your SWF files, so that any SWF can be loaded into the flash player.
 
Hi Boomayed, if you still want to link multiple exe's and want to shut a projector down , try using fscommand("quit").

For example, right after you link to another projector via fscommand("exec", "projectorTwo.exe"), a few frames further down your swf script "fscommand("quit)", which I believe will now shut down the 1st exe and its projector, though exe2 and its projector is now playing.

I do believe though that keeping the same projector going whilst loading and unloading different swfs is probably the most straight-forward way unless you absolutey need to access mutliple projectors for a certain purpose.

See if this works.

I want to Learn :D !!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top