# Refreshing swf file on webpage

**URL:** https://forum.kirupa.com/t/refreshing-swf-file-on-webpage/332387
**Category:** flash
**Created:** [May 19, 2014, 6:57pm UTC](https://forum.kirupa.com/t/refreshing-swf-file-on-webpage/332387 "2014-05-19T18:57:13Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![flashdaddy](https://avatars.discourse-cdn.com/v4/letter/f/e36b37/32.png) [@flashdaddy](https://forum.kirupa.com/u/flashdaddy)
#### Post date: [May 19, 2014, 6:57pm UTC](https://forum.kirupa.com/t/refreshing-swf-file-on-webpage/332387/1 "2014-05-19T18:57:13Z")

</div>

Hey All,

I’m working on a page that has a .swf animation that I would like to refresh after a certain amount of time (or when an event happens). I’ve done some searching and the closest thing I could find is navigating to the actual swf file (which I don’t want to do)

Currently i’m using

```auto

var url :String = stage.loaderInfo.url;
			var request :URLRequest = new URLRequest(url);
			navigateToURL(request, "_self");

```

Instead of navigateToURL, i was wondering if there was something else I could call that will ONLY reload the contents of stage.loaderInfo.url and nothing else. Any help would be awesome.
