# Deactivate and reactivate buttons in a photo gallery. How?

**URL:** <https://forum.kirupa.com/t/deactivate-and-reactivate-buttons-in-a-photo-gallery-how/177803>\
**Category:** flash\
**Created:** [February 5, 2006, 12:14pm UTC](https://forum.kirupa.com/t/deactivate-and-reactivate-buttons-in-a-photo-gallery-how/177803 "2006-02-05T12:14:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mx\_guest2004](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@mx\_guest2004](https://forum.kirupa.com/u/mx_guest2004)\
**Post date:** [February 5, 2006, 12:14pm UTC](https://forum.kirupa.com/t/deactivate-and-reactivate-buttons-in-a-photo-gallery-how/177803/1 "2006-02-05T12:14:51Z")

</div>

Hi,  
Suppose we have 10 buttons on the screen to show a photo gallery. When the user click on a button for exampel button no 1, how can I deactivate this for the period the photo no 1 is being seen and how I can reactivate this when he/she clicks on another button and so on ?

Thanks
