[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Flash MX 2004 running an external exe/bat file for a CD-based intro

Posted on 2007-07-30
3
Medium Priority
?
395 Views
Last Modified: 2013-12-17
Hello experts,

I am trying to make a Flash MX 2004-based front-end to an installation CD for some software that we use internally.

I have designed the screens no problem, but I am trying to get Flash to run an .exe file to kick start the installation process as normal... but thats where I get stuck.

I have a button on the screen and when clicked, the following (simple) code is run.

on (release) {
      fscommand("exec","mySetupFile.exe");
}

...but this doesn't work.  I have tried this in the Flash environment, as an exported movie, and as a created projector file.

I have read some of the other questions on and off Experts Exchange and suggestions have pointed to using batch files to do this... but the files still do not actually run.

on (release) {
      fscommand("exec","myBatchFile.bat");
}

To clarify, the exe and bat files are all stored in the same folder as the output .swf/.exe file, so finding the file shouldn't be the problem... (he says!)

Am I doing something wrong here?  I await your help in exchange for mucho points, of course!

Kind regards,


Brett
0
Comment
Question by:raggedyboo
  • 2
3 Comments
 
LVL 22

Accepted Solution

by:
rascalpants earned 2000 total points
ID: 19592312
I believe you have to put all of your executables in a folder named "fscommand"  

try that first... and let me know if this solves it.


rp
0
 
LVL 22

Expert Comment

by:rascalpants
ID: 19592318
0
 
LVL 1

Author Comment

by:raggedyboo
ID: 19594786
Good stuff, rascalpants!  You truly are a wizard!

And to clarify for anyone else who reads this, the external file will only run from the projector file, not the .swf file?

0

Featured Post

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It is a real story and is one of my scariest tech experiences. Most users think that IT experts like us know how to fix all computer problems. However, if there is a time constraint and you MUST not fail the task or you will lose your job, a simple …
Eseutil Hard Recovery is part of exchange tool and ensures Exchange mailbox data recovery when mailbox gets corrupt due to some problem on Exchange server.
An overview on how to enroll an hourly employee into the employee database and how to give them access into the clock in terminal.
XMind Plus helps organize all details/aspects of any project from large to small in an orderly and concise manner. If you are working on a complex project, use this micro tutorial to show you how to make a basic flow chart. The software is free when…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question