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

Posted on 2007-07-30
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) {

...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) {

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,

Question by:raggedyboo
    LVL 22

    Accepted Solution

    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.

    LVL 22

    Expert Comment

    LVL 1

    Author Comment

    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?


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    This article covers general Notes 8.5 troubleshooting information including recreating the Notes\Data folder.
    Article by: Rob
    Notes 8.5 Archiving Steps and Tips This article covers setting up a Notes archive, and helps understand some of the menu choices making setting up and maintaining a Notes archive file easier.
    The goal of the tutorial is to teach the user how to how to record live broadcast.
    The goal of the tutorial is to teach the user how to select the video input device. Make sure you have an input device that in connected and work and recognized by Adobe Flash Media Live Encoder and select it in the “video input” menu.

    760 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

    Need Help in Real-Time?

    Connect with top rated Experts

    7 Experts available now in Live!

    Get 1:1 Help Now