# Next Button Help

**URL:** <https://forum.kirupa.com/t/next-button-help/65616>\
**Category:** flash\
**Created:** [September 28, 2004, 6:37am UTC](https://forum.kirupa.com/t/next-button-help/65616 "2004-09-28T06:37:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![bjory](https://avatars.discourse-cdn.com/v4/letter/b/5e9695/32.png) [@bjory](https://forum.kirupa.com/u/bjory)\
**Post date:** [September 28, 2004, 6:37am UTC](https://forum.kirupa.com/t/next-button-help/65616/1 "2004-09-28T06:37:23Z")

</div>

I just want to click on nextBtn and change the properties of the menu buttons. But, it doesn’s change. Can someone take a look and tell me how I can do it?

I attached a text file. Please help!!!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 28, 2004, 7:19am UTC](https://forum.kirupa.com/t/next-button-help/65616/2 "2004-09-28T07:19:48Z")

</div>

well it looks a little to complicated to me… I’d suggest breaking it up into a few functions… which will help with error checking… I noticed you have a bunch of repeating code… a sure sign a new function is in order 🙂 plus then you only have to fix it once… rather than the 3 times you have virtually the same code executing…

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 29, 2004, 7:49am UTC](https://forum.kirupa.com/t/next-button-help/65616/3 "2004-09-29T07:49:29Z")

</div>

But the thing is I’m not too sure how I can make the repetitive codes to be in another function? I tried grabbing the codes out and call the function in my GenerateMenu but it doesn’t seems to work. If you can help me have a look at it would be appreciated.
