# Button Removal

**URL:** <https://forum.kirupa.com/t/button-removal/183422>\
**Category:** flash\
**Created:** [March 26, 2006, 10:58pm UTC](https://forum.kirupa.com/t/button-removal/183422 "2006-03-26T22:58:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyg3r](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyg3r/32/1341_2.png) [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Post date:** [March 26, 2006, 10:58pm UTC](https://forum.kirupa.com/t/button-removal/183422/1 "2006-03-26T22:58:28Z")

</div>

Hi

Im trying to remove a button using action script. I’v triad a few things with no success. I would like it so that when the button is pressed, it will do an action (gotoAndPlay(2)😉 then go away.

And ideas?

* * *

[ASIAN AMERICAN](http://www. **** tube.com/categories/111/american/videos/1)

---

<div class="post-metadata">

**Author:** ![rhamej](https://avatars.discourse-cdn.com/v4/letter/r/bb73d2/32.png) [@rhamej](https://forum.kirupa.com/u/rhamej)\
**Post date:** [March 27, 2006, 10:21pm UTC](https://forum.kirupa.com/t/button-removal/183422/2 "2006-03-27T22:21:59Z")

</div>

btn.onRelease=function(){  
gotoAndPlay(2);  
this.\_visible=false;  
}

---

<div class="post-metadata">

**Author:** ![Tyg3r](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/tyg3r/32/1341_2.png) [@Tyg3r](https://forum.kirupa.com/u/Tyg3r)\
**Post date:** [March 27, 2006, 10:23pm UTC](https://forum.kirupa.com/t/button-removal/183422/3 "2006-03-27T22:23:56Z")

</div>

sweet, thanx alot 🙂

* * *

[Xxx video free](http://www. **** tube.com/)
