Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: FLASH: Update/correction: projector addresses a browser
From: Brad Bechtel
Date: Wed, 23 Sep 1998 19:29:36 +0100

Sorry for one mistake on this set of instructions. In step 6, your Flash file should point to MYURL.BAT, not MYURL.PIF. The Program Information File tells Windows how to handle the MS-DOS batch file. Referencing the PIF file instead of the BAT file will cause the MS-DOS window to be displayed.

Within Windows, you can do this:

1. Create a text file containing the following line:
START MYURL.HTM
(Replace "myurl.htm" with the URL you want to load)
2. Save the text file as MYURL.BAT.
3. Right click on the MYURL.BAT file and choose Properties.
4. On the Programs tab, set the Run option to "minimized" and select the "Close Window on Exit" checkbox. This will avoid having the MS-DOS window remain onscreen when you run the batch file.
5. Click on OK. Now in the same location where you had the MYURL.BAT there will be a PIF file (Program Information File). It's MS-DOS name is MYURL.PIF.
6. In your Flash file, create a button using the FSCommand with the command "exec" and the argument "MYURL.BAT" (no quotes). Save it, then export your SWF to the same location as the MYURL.BAT file.
7. When you run the SWF or the standalone player made from this, make sure you have MYURL.BAT, MYURL.PIF and your player file in the same place. Clicking on a button using the example shown should bring up the MS-DOS window and execute the URL listed in MYURL.BAT using the user's default browser.

If you want to specify a different browser than the user's default browser, then you need to find the specific path of that browser and use it in the batch file instead of the word START.

If any of this is unclear or if you'd like an example posted somewhere, please let me know.



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-manageratshocker [dot] com


Replies
  FLASH: projector addresses a browser/aga, David Owen
  Re: FLASH: projector addresses a browser, Brad Bechtel

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]