# Disable button on ... need help

**URL:** <https://forum.kirupa.com/t/disable-button-on-need-help/161380>\
**Category:** Uncategorized\
**Created:** [September 3, 2005, 12:06pm UTC](https://forum.kirupa.com/t/disable-button-on-need-help/161380 "2005-09-03T12:06:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![modulater](https://avatars.discourse-cdn.com/v4/letter/m/958977/32.png) [@modulater](https://forum.kirupa.com/u/modulater)\
**Post date:** [September 3, 2005, 12:06pm UTC](https://forum.kirupa.com/t/disable-button-on-need-help/161380/1 "2005-09-03T12:06:05Z")

</div>

Hi there,

I have trouble on the following.  
I have a button that loads an image into a holder.In this holder I made a transparent button.So when the image is loaded an I klik the image with the transparent button on top I made following script.

button.onRelease=function(){  
\_root.holder.\_visible=false;//makes the image dissapear.  
button.\_visible=false;//makes the button dissapear  
}

Now when I want to load the image again I can see the pic but the button is not there.

In my load script I added following button.\_visible=true; but the button doesn’t get visible on reload of the pic.

Anybody pleace can help out. Must be something simple to solve.

Big thx in advance!!!
