# Button functions not working

**URL:** https://forum.kirupa.com/t/button-functions-not-working/324801
**Category:** Uncategorized
**Created:** [September 9, 2011, 12:38pm UTC](https://forum.kirupa.com/t/button-functions-not-working/324801 "2011-09-09T12:38:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![BUroKHUli](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/burokhuli/32/190_2.png) [@BUroKHUli](https://forum.kirupa.com/u/BUroKHUli)
#### Post date: [September 9, 2011, 12:38pm UTC](https://forum.kirupa.com/t/button-functions-not-working/324801/1 "2011-09-09T12:38:34Z")

</div>

hi guys, AS3 has been phenomenal mainly because of it’s new 3D features which i so dearly love. but then i was shocked to see that my simple code doesn’t work anymore.

```php

playagain_btn.onRelease = function() {
	gotoAndPlay("start");
};

```

it’s giving me this error:

```php
Warning: 1090: Migration issue: The onRelease event handler is not triggered automatically by Flash Player at run time in ActionScript 3.0. You must first register this handler for the event using addEventListener ( 'click', callback_handler).

```

i’m not a programmer and for the past years, i have lived with simple coding. what is wrong with this anyway? i hope you can pud some light to this situation im in

thanks
