# XML Gallery : modify Previous/Next buttons

**URL:** <https://forum.kirupa.com/t/xml-gallery-modify-previous-next-buttons/154122>\
**Category:** flash\
**Created:** [July 7, 2005, 3:56am UTC](https://forum.kirupa.com/t/xml-gallery-modify-previous-next-buttons/154122 "2005-07-07T03:56:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Magomed](https://avatars.discourse-cdn.com/v4/letter/m/3ab097/32.png) [@Magomed](https://forum.kirupa.com/u/Magomed)\
**Post date:** [July 7, 2005, 3:56am UTC](https://forum.kirupa.com/t/xml-gallery-modify-previous-next-buttons/154122/1 "2005-07-07T03:56:37Z")

</div>

Hello,

Thanks for the great tutorial, Kirupa.

I have a quick question, -

Once the user has reached the final image of the gallery, is there a way to make the “Next” button disappear? The same for “Previous” button, is there a way to not display it during the first image in the gallery?

thanks in advance,

Magomed
