i have a dynamic drop down menu in which you can easily add menu items via an array.
Some menu items are longer then others and they have to be 2 lines instead of 1 but i don’t know how to position them.
// submenu buttons
for(var j=0; j<Menus*.length; j++)
{
// create the button
m.attachMovie("SubMenu", "Btn" + j, 5+j);
// shortcut reference
var b = m["Btn"+j];
//this is where you set up to place the submenu's from eachother and the position from the main menu button.
b._y = (j*20)+ this._y +20;
b._x = this._x;
how can i make this so dynamic so that if people add longer menu items they still position nice under eachother??