# ActionScript 2.0 Button stops working

**URL:** <https://forum.kirupa.com/t/actionscript-2-0-button-stops-working/241313>\
**Category:** flash\
**Created:** [October 12, 2007, 3:26am UTC](https://forum.kirupa.com/t/actionscript-2-0-button-stops-working/241313 "2007-10-12T03:26:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kchill](https://avatars.discourse-cdn.com/v4/letter/k/3ec8ea/32.png) [@kchill](https://forum.kirupa.com/u/kchill)\
**Post date:** [October 12, 2007, 3:26am UTC](https://forum.kirupa.com/t/actionscript-2-0-button-stops-working/241313/1 "2007-10-12T03:26:06Z")

</div>

I have created a movieclip called service1. When you click on a button on the main timeline, the service1 mc pops up. Within the service1 mc is a button that, when pressed, closes the service1 mc window. The code that I have placed on the button is:

on(press){  
this.\_visible = false;  
}

When I test the scene the button does exactly what I want it to do, the service1 mc dissapears. Perfect! However, when I test the movie, the service1 mc pops up but the button goes inactive. Can anyone tell me why and how do I fix it?
