# Action on button doesn't work! HELP!

**URL:** <https://forum.kirupa.com/t/action-on-button-doesnt-work-help/177106>\
**Category:** Uncategorized\
**Created:** [January 30, 2006, 10:06am UTC](https://forum.kirupa.com/t/action-on-button-doesnt-work-help/177106 "2006-01-30T10:06:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ndesigns](https://avatars.discourse-cdn.com/v4/letter/n/ad7895/32.png) [@ndesigns](https://forum.kirupa.com/u/ndesigns)\
**Post date:** [January 30, 2006, 10:06am UTC](https://forum.kirupa.com/t/action-on-button-doesnt-work-help/177106/1 "2006-01-30T10:06:42Z")

</div>

Hi Guys,

For school we have to make a assignment in flash… in this assignment i’ve made a button, thats not such a problem but the button must grows when i hit or release the button.

Now i’ve made the button and on go to the button timeline en on hit keyframe i made a Moviclip calls mc\_btnhit there the button must grows up. Oke thats done but when i’m going to the main time line and add the following action on the button.

```auto
on(release) {
gotoAndPlay("mc_btnhit",1);
} 

```

the flash doesn’t give a error the code is actually right but when i’m testing the movie and i press on the button it won’t respont and doesn’t get bigger… so my question is what i’m doing wrong?

i hope sombody can help me…
