# Enabled true and false? temporary

**URL:** <https://forum.kirupa.com/t/enabled-true-and-false-temporary/176456>\
**Category:** Uncategorized\
**Created:** [January 24, 2006, 10:16am UTC](https://forum.kirupa.com/t/enabled-true-and-false-temporary/176456 "2006-01-24T10:16:36Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![blaatorx](https://avatars.discourse-cdn.com/v4/letter/b/f17d59/32.png) [@blaatorx](https://forum.kirupa.com/u/blaatorx)\
**Post date:** [January 24, 2006, 10:16am UTC](https://forum.kirupa.com/t/enabled-true-and-false-temporary/176456/1 "2006-01-24T10:16:36Z")

</div>

peepz,

i want to disable a button temporary (for a few miliseconds) with this script:

```auto

on(release)
{
 
this.enabled = false;

enabler = function()
 {
  this.enabled = true;
  clearInterval(myInt);
 }
 
 myInt = setInterval(enabler, 10);
}

```

what im doing wrong?

im using flash8!

thnx already!
