Making a Flash Movie that will Auto Run when you create a CD is remarkably easy. AutoRun is a feature that enables CD to start a program automatically. If you want to create a Flash Movie that runs automatically from a CD you would use the AutoRun feature. You simply have to add a small file to the CD at the time when you burn your CD. On Windows is made by putting an INF file in the parent directory of the CD. This tutorial explains the few simple steps you need to achieve this.
Note: The AutoRun feature can be disabled on each individual computers and these machines an AutoRun-enabled CD will not automatically launch.
This tutorial describes how to do this 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.exe It 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.
discuss this topic to forum
