PDA

View Full Version : adding menu items on-the-fly



Alber Kidd
April 3rd, 2008, 04:45 PM
I want to create a submenu from my array.

var subArray:Array = new Array("aboutUs", "whoweare", "whatwedo");

I need to

(i) create a button for each of the an instance name from the array

(ii) add the name to the button in a textbox

(iii) fade the button on to the stage

The fundemental problem I have is creating the buttons by iterating thougth a loop.


Any help would be great

Felixz
April 4th, 2008, 11:11 AM
u could look there