A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: How do I run an .exe file from a button?

  1. #1
    Junior Member
    Join Date
    Jun 2001
    Location
    Eastern Pennsylvania
    Posts
    2
    I'm creating a CDrom tutorial for a local ISP to distribute to it's new users. The CD will autorun and play my Flash movie as an executable.

    The navigation inside the movie needs to point to the installation files for several different programs, like the MSN messenger Install or the Netscape Navigator Setup file.

    I found a reference to the "exec" command in Action Script but I couldn't get it to work. Maybe I didn't have the syntax right?

  2. #2
    Senior Member
    Join Date
    Dec 2000
    Posts
    120

    never used it, but the documentation says:

    fscommand ("exec", "whatever.exe");

  3. #3
    Junior Member
    Join Date
    Jun 2001
    Location
    Eastern Pennsylvania
    Posts
    2

    is it a path problem?

    This is how the script reads for my button action

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

    I even tried

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

    BUT my program does not run!?

    Both the flash file and Globe.exe are in the same folder

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center