Featured Videos

Heres a video that demonstrates some of the many cool features wh..

I often use this text effect for intros or as a button roll over ..

This video tutorial will teach you all about the layers function ..

This simple tutorial is a great for those getting to grips with t..

This detailed 3D Studio Max tutorial will teach you how to animat..

Popular Tutorials

Creating Gradient Buttons

In this crazy new world of web 2.0 some designs call for some bright, shiny gradient butto..

Creating a 3D Tunnel Effect in Flash

Learn how to create this very cool 3D tunnel effect in Flash using some simple 2D animatio..

Gradient Mapping

How to transform a standard photograph for use with a specific colour scheme or brand imag..

3D Hologram Effect

An extension to the Iris Porthole effect that incorporates 3D animation, to create a reall..

Flash EXE Presentation for an Auto-Run CD

Publising flash file as Fullscreen EXE

This is a nice little tip for those wanting to auto load a full screen flash presentation from a CD that's been inserted on a Windows machine.

Start by opening your flash movies FLA source file and right clicking on frame 1, then click "Actions" from the menu and insert the following action script into the editor.

fscommand("fullscreen", "true");

This will force your movie into full screen mode when you create it as a executable file.

Now goto File -> Publish Settings on the top menu, this will bring up a box with various ways of publishing your flash movie. Tick the "Windows Executable" section and click publish. If you now go to the folder containing your flash movie you will notice it has also published a new file, this will be the Windows Executable or EXE file you just setup previously.

 

Creating a CD with Autorun

Now that you have this file you can simply copy this onto a CD and your ready to go. But if you also want this EXE file to auto load when the CD is inserted into the drive you will need to create and copy 1 more additional file onto that CD.

Right click in an empty section of your folder containing the flash EXE and create a new text file .TXT. Open this file and write the following inside the file.

[autorun]
open = yourfilename.exe

Be sure to change "yourfilename.exe" to your new published flash file's name, now choose File -> Save as from the top menu and save this file as Autorun.inf.

(be sure to save as .INF not .TXT) You should now notice your newly saved file in the folder, now copy this new INF file along with the flash EXE file onto a CD and your done.

Comments (5)

Nice Man

Posted by: Flippy Floppy on 05/08/2008

how to autorun a flash exe (for pc) on a usb flash drive? is it possible? thanks!

Posted by: Owen on 12/07/2008

Nice tut!Thanks for your time

Posted by: Luis on 29/05/2008

Brilliant help, Thanks !!

Posted by: Anonymous on 13/05/2008

Thx alot! was great help ;)

Posted by: Anonymous on 13/05/2008

Comments:

Author:  

What colour is the sky?

Related Content

Futuristic city, 3D techniques in Flash

Futuristic city, 3D techniques in Flash

See the tricks behing the advanced Flash animation that was used to bring this futuristic ..

Building your website with includes

Building your website with includes

Using server side includes to design and code your web site allows you to keep your develo..

Auto Redirect To An Alternative Webpage Or Site

Auto Redirect To An Alternative Webpage Or Site

Sometimes it is necessary to redirect traffic to a new webpage or a different site altoget..

Flash EXE Presentation for an Auto-Run CD

Flash EXE Presentation for an Auto-Run CD

This article will teach you how to create an Auto run CD for a fullscreen Flash presentati..

Flash Detect Keyboard Input with Key Listeners

Flash Detect Keyboard Input with Key Listeners

Learn how to detect keyboard input in flash for applications and game controls using a bit..

Recommended Sites

 Subscribe to our feed

Send to a friend