Autorun Flash content from a USB pen drive.

Here’s a quick guide to getting your flash content added to the autorun list under Windows (XP SP2 or later).

1. Publish your flash project to an exe (swfs should work as well).
2. Open up notepad and add this text:

[autorun]
open=myflash.exe
action=Run myFlash Application
icon=myIcon.ico

3. Rename “myFlash” in the above code to the name of your application. You can also create an icon file (.ico) to accompany your application (if you dont wish to, you can delete the “icon=myIcon.ico” line.

4. Go to File, SaveAs, and type in autorun.inf in the file name textfield, then click Save.

5. Copy your exe and the autorun.inf file to the root directory of your USB pen drive (along with your ico file if you chose to create one).

6. Next time you plug your USB pen drive into your computer, you will see your application added to programs launcher dialog box that appears.

No Comments

No comments yet.

RSS feed for comments on this post. TrackBack URI

Leave a comment

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Mediastation Creative Solutions Ltd