Making an Auto Run CD
Note: This technique is designed to be used on a PC.
Step one: Full Screen Option
- It you want your Flash Movie to run in full screen mode place this ActionScript in frame 1 of you Flash Movie:
fscommand("fullscreen", true);
Note: This full screen mode will only work when you are running the Flash Movie from your local computer (like from a CD) and will not work if the Movie is viewed on the Internet.
Step two: Publishing your Flash Movie
- Create a Flash Movie or open the Flash Movie that you want to use place on the CD.
- If your file name has spaces in it re-save it so the spaces are removed: File > Save As
- Go to: File > Publish Settings (Short Cut Key: Ctrl + Shift + F12)
- Select: Windows Projector (.exe) Nothing else needs to be selected.
- Click: Publish
Note: This will create a file with the same name as the original Flash Movie except it will be called OriginalName.exeIt will also be in the same location or folder as your original Flash Movie such as the Desktop or My Documents etc. You need to know the location of this file.
The exe file it creates contains the Flash Movie and the Flash Player. This file is executable. That means that Windows can start the file like a program. All the instructions are included in the exe file. This does not mean that it will Auto Start - only that if you ask it to start Windows will do.
Step three: Creating the Auto Start CD
- Open your favourite Text Editor such as Windows Notepad. It is normally located at: Start > All Programs > Accessories > Notepad
Note: This may differ on some PCs.
- Type the following:
[autorun]
open=myFlashFile.exe
icon=myIcon.ico
Note: Replace myFlashFile with the name of your file!! Do not use spaces in the file name. Windows is not normally case sensitive - but why take the risk - stick to the same case as your Flash Movie.
The line icon=myIcon.ico is to display an icon that you might have. If you do not have an icon do not use this line. The myIcon section should be replaced with the same name as your icon.
If you want to make an Icon you cannot normally use standard image editing programs like PhotoShop. Go to one of the shareware sites such as Tucows and search for an Icon Maker. You should be able to find a freebie program that will make your icon file for you.
- Save the file with the name: autorun.inf
- Burn your CD with the following files in the root directory (NOT in a folder):
autorun.inf
myFlashFile.exe
myIcon.ico
Post a Comment for "Making an Auto Run CD"