# DESPERATE! Problems with reenabling a button (For AS guru)

**URL:** <https://forum.kirupa.com/t/desperate-problems-with-reenabling-a-button-for-as-guru/250570>\
**Category:** Uncategorized\
**Created:** [January 30, 2008, 4:44pm UTC](https://forum.kirupa.com/t/desperate-problems-with-reenabling-a-button-for-as-guru/250570 "2008-01-30T16:44:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gersie](https://avatars.discourse-cdn.com/v4/letter/g/b2d939/32.png) [@gersie](https://forum.kirupa.com/u/gersie)\
**Post date:** [January 30, 2008, 4:44pm UTC](https://forum.kirupa.com/t/desperate-problems-with-reenabling-a-button-for-as-guru/250570/1 "2008-01-30T16:44:07Z")

</div>

Hey Guys! Im a newbie on ActionScript language, and im gonna to explain an issue that i have with ActionScript.

**Scenario:**

[![](http://img182.imageshack.us/img182/6074/67728126ix5.gif)](http://imageshack.us)

Button “boton1” is pressed  
Movie “quienes” is loaded. (MC “quienes” works like a pop-up"  
Button “boton1” is disabled.

boton1 CODE:

```auto
on (release) {
 this.attachMovie("quienes", "window", 0);
 window._x = 624;
 window._y = 348;
 boton1.enabled=false
}

```

* * *

[FONT=Comic Sans MS][![](http://img250.imageshack.us/img250/1526/65858558hg1.gif)](http://imageshack.us)[/FONT]

“boton1” must be disabled because when “quienes” is loaded, it keeps on workingin a rollover action.  
Button “boton2” is pressed  
Movie “quienes” is unloaded.

boton2 CODE:

```auto
on (press){
this.removeMovieClip("window");
}

```

**How can Button “boton1” become enabled again?**

**Thanks Everybody!**
