# It's the button

**URL:** <https://forum.kirupa.com/t/its-the-button/170251>\
**Category:** Uncategorized\
**Created:** [November 24, 2005, 2:22am UTC](https://forum.kirupa.com/t/its-the-button/170251 "2005-11-24T02:22:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![kid](https://avatars.discourse-cdn.com/v4/letter/k/c5a1d2/32.png) [@kid](https://forum.kirupa.com/u/kid)\
**Post date:** [November 24, 2005, 2:22am UTC](https://forum.kirupa.com/t/its-the-button/170251/1 "2005-11-24T02:22:51Z")

</div>

good day!  
is there anyone who can help me with my button?

if i click it once, it doesn’t perform the action.

i have to click it over and over to perform the action.

here’s my code which i put inside my button.

```auto

on (release) {
   if (dupCount < 5) {
      dupCount++;
      _root["pinkButton"].duplicateMovieClip ("pinkButton" + dupCount, dupCount);
      _root["pinkButton" + dupCount]._x += 20 * dupCount;
      _root["pinkButton" + dupCount]._y += 20 * dupCount;
      trace ("hello")
    }
}

```

please help me here…
