# What is wrong with this code?

**URL:** <https://forum.kirupa.com/t/what-is-wrong-with-this-code/174625>\
**Category:** Uncategorized\
**Created:** [January 7, 2006, 10:29am UTC](https://forum.kirupa.com/t/what-is-wrong-with-this-code/174625 "2006-01-07T10:29:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ravmaster](https://avatars.discourse-cdn.com/v4/letter/r/ee59a6/32.png) [@Ravmaster](https://forum.kirupa.com/u/Ravmaster)\
**Post date:** [January 7, 2006, 10:29am UTC](https://forum.kirupa.com/t/what-is-wrong-with-this-code/174625/1 "2006-01-07T10:29:57Z")

</div>

```php
on(release){
    _root.character.hero.gotoAndStop(2)
}

```

'coz when i click on it nothing happens the characters hero stays as is…
