Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

auto play

Status
Not open for further replies.

cvw

Technical User
Feb 12, 2001
12
US
I'm new at Flash and I was wondering if there is any way to write an auto play cd with Flash.
 
When you burn the animation (Projector EXE) onto your CD-Rom, it would be nice to have the animation play automatically once the user inserts his CD-Rom in his drive. To do that:

First launch Notepad or similar ASCII format editor.

Type the following code in:
[autorun]
open=animation.exe
icon=icon.ico

Now, replace "animation.exe" with the projector file name that you created.

If you want your animation to stand out, you may optionally add an icon to your movie. Replace "icon.ico" with the icon name of your choice.

You should save the information contained in Notepad as an ".inf" file. Click Save and choose the file format " All files (*.*) " The second step is to name the file autorun.inf. You should not change the name to anything else besides autorun.inf.

Now all you have to do, is burn or copy the files to the CD: animation.exe, icon.ico (if needed), and the autorun.inf file.
Now, you have a Executable Flash animation and an Auto-run script that will load the animation immediately once Windows recognizes your CD Rom.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top