A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: calling for.exe from an `html embeded .swf`

  1. #1
    Junior Member
    Join Date
    Oct 2001
    I experience a problem while trying to call upon a .exe flash standalone file from within a web page.
    I embed an .swf file into the dreamweaver`s .html file and from this .swf I call (by the assistance of exec command) for the .exe flash standalone file which is located in the very same HD directory in which are both the .swf and the .html hosts.
    Now, If I activate the .swf by itself it succeeds in loading the .exe file but if instead I begin with the .html which loads the .swf embeded in it, the .swf does not manage to load the .exe !!!
    I am using flash 5.
    Please, your assistance...

  2. #2
    Senior Member
    Join Date
    Jul 2000
    This happens becuase the FS Command Only passes 2 things to the native app. The command name and an argument.

    The Flash projector has a number of built in commands where as the web browser doesn't have any. In order for this to work, and it shouldn't unless the user has really loose security settings on IE, is that you will write a VBScript that catches the FS Commands then launches the exe on the hard drive.

    When you install FlashPLA.EXE it automatiaclly sets itself up to play SWF files. In otherwords when you double click your SWF it is playing inside the Standalone player and not in a web browser which is why it works when you just double click the SWF.

  3. #3
    Junior Member
    Join Date
    Oct 2001
    Thank you johnie for replying.
    I will turn to vb indeed.

  4. #4


    To save you the headache I recommend you try to launch the exe from a standalone.

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