A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Opening other executables in Flash?

  1. #1
    Junior Member
    Join Date
    Mar 2003
    Posts
    11

    Opening other executables in Flash?

    Need to know how I can run external executable files, if a user were to click on a link from within my Flash projector. I've tried it, and the only issue is that it seems to prompt me of a warning which advises that opening it may be harmful to my computer? Any clue as to how to get by this..... Thanks

  2. #2
    Lifetime Friend of Site Staff Northcode's Avatar
    Join Date
    Dec 2000
    Location
    Whitehorse YT
    Posts
    3,766
    Running EXE files from the web is never going to be seamless unless you can talk your users into lowering their internet security settings or installing a special "helper" plugin which basically bypasses the browser security.

    If you are indeed running EXE files from a projector then you shouldn't see any warning messages. The only thing I can think of that would pop up a warning in that case would be anti-virus software that was being about as over protective as it could be.

  3. #3
    Junior Member
    Join Date
    Jan 2003
    Location
    Blat!! Land
    Posts
    12
    are u using flash MX????
    Where is the world??

  4. #4
    Junior Member
    Join Date
    Feb 2003
    Location
    Pittsburgh
    Posts
    27
    Flash won't open .exe files from a .swf. You must publish a projector and have it use the FScommand to open the other .exe's. Here's something else: the .exe you are trying to open must reside in a folder (on the same level as your flash projector) named FSCOMMAND. Good luck.

  5. #5
    You can use *********** - JStart.

    Download a FREE evaluation copy from

    http://jstart.***********.com

    Please take a look at the example files provided at

    :\Program Files\***********\JTools\Examples

    There are many examples in there for Flash 5 and MX.

    You should also take a look at the JStart help file

    Start -> Programs -> *********** -> JTools -> JStart JWeb JEmail.hlp ->
    Setting up JTool Links

    Please refer to the online FAQ questions as this is updated on a regular
    basis

    http://***********.com/index.html?se...ols&sub=JStart

    Let us know if we can be of any further assistance.

  6. #6
    Junior Member
    Join Date
    Feb 2003
    Location
    Pittsburgh
    Posts
    27
    Flash projectors can open .exe files with ease.

    1. Select your button (or frame).
    2. From the actionscript box choose "browser/network"
    3. then double click "fscommand"
    4. type the file name you want to open in the parameters field (like..."myapp.exe").
    5. then select "exec" from the drop down menu.

    code example:

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

    6. remember that the actual .exe file you are launching must be in a folder named "fscommand". Drop me a line if you have trouble.

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