# Action script menu question

**URL:** <https://forum.kirupa.com/t/action-script-menu-question/260133>\
**Category:** Uncategorized\
**Created:** [May 12, 2008, 8:50pm UTC](https://forum.kirupa.com/t/action-script-menu-question/260133 "2008-05-12T20:50:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kirupafalcon](https://avatars.discourse-cdn.com/v4/letter/k/c4cdca/32.png) [@kirupafalcon](https://forum.kirupa.com/u/kirupafalcon)\
**Post date:** [May 12, 2008, 8:50pm UTC](https://forum.kirupa.com/t/action-script-menu-question/260133/1 "2008-05-12T20:50:09Z")

</div>

I am simply trying to change the menu names in the action script below but if change any of the names the menu stops working properly? For example, If i rename “Partners” to lets say Corporate Partners the menu system will point all menu names to the same page withing the flash movie instead of linking to the 6 separate pages/movie clips within the mane flash movie? Any idea why???

voci\_menu = [“Main”, “Company”, “Services”, “Solutions”, “Partners”, “Contacts”,“Main”, “Company”, “Services”, “Solutions”, “Partners”, “Contacts”];  
fl = 1000;  
n\_max = 80;  
for (n = 0; n \< n\_max; n++)  
{  
if (n \> n\_max - (voci\_menu.length + 1))  
{  
id\_item = n\_max - n - 1;  
z\_item = fl \* 2 / (voci\_menu.length + 1) \* id\_item;  
menuitem.duplicateMovieClip(“item” + n, n + 1000000, {id: n, id\_max: n\_max, id\_item: id\_item, txt: voci\_menu[id\_item], z: z\_item});  
continue;  
} // end if  
petalo.duplicateMovieClip(“petalo” + n, n, {id: n, id\_max: n\_max});  
} // end of for  
menuitem.removeMovieClip();  
menuitem.\_visible = false;  
petalo.removeMovieClip();  
stop ();
