Menu Generator
actionscript2

Download Files
Version 1.2 (2007-08-06)

Menu Generator is a Class which makes it easy for you to create dynamic animated Menus in Flash.

You create your own button movie clips, and supply a dataprovider and the class does the rest.

Flow Chart Example

sample.

// 1. Copy the Menu Object from the example files into your Project 
//    (don't forget the Class file).
// 2. Create Your Own Menu Button
// 3. Configure the Menu's Settings
menuContainer_mc.buttonIdentifier = 'menuButton';
menuContainer_mc.verticalGap = 1;
// 4. Create a DataProvider (just an Array of Objects)
var dp:Array = new Array();
dp.push({label:'test',id:'test'});
// 5. Build the Menu.
menuContainer_mc.buildMenu(dp);

The Download comes with a working example (see below) which you can use as a starting point to get it working.

example.

To the right is the sample you get in the download. (Click ReBuild to See the Animation Effect)

I have used this code on my own website. I use it for the Left Hand Menu on the Site, I also use it for the Comments display, and I use it on the Flickr Feed page.

Please Install Flash