# How do you Refresh swf after changes?

**URL:** <https://forum.kirupa.com/t/how-do-you-refresh-swf-after-changes/288821>\
**Category:** flash\
**Created:** [May 21, 2009, 12:38pm UTC](https://forum.kirupa.com/t/how-do-you-refresh-swf-after-changes/288821 "2009-05-21T12:38:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Matt\_da\_best](https://avatars.discourse-cdn.com/v4/letter/m/90db22/32.png) [@Matt\_da\_best](https://forum.kirupa.com/u/Matt_da_best)\
**Post date:** [May 21, 2009, 12:38pm UTC](https://forum.kirupa.com/t/how-do-you-refresh-swf-after-changes/288821/1 "2009-05-21T12:38:09Z")

</div>

Do you have any idea how I would refresh my movie or put the changes into place when a user presses this button to reset the shared object positions:

```auto
 
//reset button
resetButton.onRelease = function () {
 
 _root.box.boxPos.clear();
 _root.box.timepos.clear();
 
 _root.box2.boxPos2.clear();
 _root.box2.timepos2.clear();
 
}

```

The button works, but the effects arent put into place unless you refresh the flash movie.

```auto
refresh();

```

and

```auto
updateAfterEvent();

```

do not work and I do not want to refresh the browser.
