A Flash Developer Resource Site














Internet Commerce

Partners & Affiliates














Developer Channel

internet.com


Featured Flash FLA
Gallery Downloads 11336 Flash Movies | 2 New Flash Movies Added
What's New | Top 100

Featured FLA

» Author: Surjit Dhami
» Title: Book
» Description: Book
» More by Surjit Dhami


Random FLAs | Add Flash Movie
Featured Flash Site
Gallery Downloads 5848 Flash Sites | 0 New Flash Links
What's New | Top 100 Flash Site

Featured Site

» Posted in the Flash Kit Links section
» Title: All-American Rejects
» Description: Get to know this great band by exploring their "practice room".


Random Links | Add your own Flash Related Links
Flash Tutorials 1277 Tutorials 7 New Tutorials Added!
What's New | Top100

» Create xml slideshow with free template
» How to Insert a Multilingual Subtitle Into Your Flash Video Studio
» How to Create Cool Halloween Slideshow
» Debugging flash using the Firebug console
» Create Flash Slideshow on Blogger
» FLASH TRICKS IN WEB ADVERTISING: FLASH BANNERS
» HTML Photo Gallery Tutorial
» Create your first flash site – PART 1
» How to Make a Flash Photo Gallery
» Unknown Tag: Title10
Random Tutorial | Add Site

Sr Instructional Designer D2L-Moodle,Clearance
WSI Nationwide, Inc.
US-NJ-Fort Monmouth

Justtechjobs.com Post A Job | Post A Resume


Tutorials Home What's New Top Rated Submit myTutes Random!

Search Tutorials


Tutorials Tutorials » Projector

Categories How to create a flash-based CD menu for a DVD, CD and USB stick?
Author: Chameleon Flash | Website: http://www.chameleonflash.com |

 
Page 1
1

In this tutorial, we will create a menu that gradually appears and offers the user to open a text document or run an application. Such menus are very convenient when a CD contains a lot of files. They help the user to quickly find his bearings and run what he needs. Also, you can use menus as a nice decorative element offering the user to run a program or a presentation when he inserts the CD into the drive, which makes such a presentation more attractive.

To view how this menu works, download and unpack the demo file "democdmenu.zip". After you unzip it, run the file menu.exe. It is a sample menu and we will create it now.

1. Start Flash.

2. Create a new project. Prepare the animation of an appearing menu and add three buttons to it. The first button will run an application, the second button will open a text document, the third button will close our menu.
Or you can download and open the demo Flash project "flacdmenu1.zip".

3. Now configure the three menu buttons so that they execute the following code:

The button running the application: FSCommand(“exec”, “data/app.exe”);
It will run the file app.exe from the data subdirectory.

The button opening a text document: FSCommand(“exec”, “data/info.txt”);
It will open the file info.txt from the data subdirectory in the program for viewing txt documents.

The Close button: FSCommand(“window.minimized”, “true”);
It will close the menu.

If you open the demo Flash project, the code is already added to it, just look at how it is done.

4. Save the project.

5. Open Publish Settings and select where to save the final SWF menu file.

6. Click Publish to get SWF.
Note. If you run the SWF file of the menu, do not worry about the fact that the buttons do not work. They will start working after you turn the SWF file into an executable application using Chameleon Flash.

7. Start Chameleon Flash. If you do not have it, you can download it at http://www.chameleonflash.com/

8. Click New to create a new project with the help of the Wizard. Specify the following information in the New Project wizard:
Application type: EXE application
Application files One SWF file and specify the path to the SWF file of the menu
Application appearance: Transparent
Application file: Specify where the final executable EXE file of the menu should be saved to

9. Save the project.

10. Click “Compile this project”.

11. Copy the final EXE file to some directory. Create the data subdirectory in this directory and save some application that will be run from the menu as app.exe and some text file named info.txt to this subdirectory.

12. The menu and files are configured. Everything is ready. Start the menu and click the buttons. Now you can write all files to a CD and it will be convenient for the user to use them from the menu.

For the menu to be run automatically when the user insert the CD into the drive or connects the USB stick, read the “How to auto run flash applications?” tutorial.

1

» Level Intermediate

Added: : 2007-09-20
Rating: 7.00 Votes: 3
Hits: 1126
» Author
Chameleon Flash is a software program transforming SWF flash projects into EXE applications and SCR screensavers.
» Download
Download the files used in this tutorial.
Download (0 kb)
Get conversion and unzipping tools for PC and Mac here!

» Forums
More help? Search our boards for quick answers!

Please rate this tutorial, 10 is the top rating, you can also click the comments link to read/write a review.
10 9 8 7 6 5 4 3 2 1
Read or Post Comments
 
   
 

internet.commediabistro.comJusttechjobs.comGraphics.com

Search:

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs