# Reset button - Help!

**URL:** <https://forum.kirupa.com/t/reset-button-help/190489>\
**Category:** flash\
**Created:** [June 12, 2006, 10:32am UTC](https://forum.kirupa.com/t/reset-button-help/190489 "2006-06-12T10:32:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Largo](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Largo](https://forum.kirupa.com/u/Largo)\
**Post date:** [June 12, 2006, 10:32am UTC](https://forum.kirupa.com/t/reset-button-help/190489/1 "2006-06-12T10:32:38Z")

</div>

Hi, Im trying to get this reset button to work. I used to use this code in Flash MX but it doesn´t work in AS2…

```auto
on (press) {
 _root.playb.onRelease = function() {
  _root.gotoAndStop(1);
 }
}

```

I also tried:

```auto
loadMovieNum("YourFile.SWF", 0);

```

but the code dosn´t work after I export the .swf to my web server and view it on the internet…(it just disappears when the button is pressed)  
and the simple

```auto
gotoandplay("start")

```

dosn´t work because I need to reload the code…  
Can anyone help me to solve this… ?
