# Guestbook refresh problem

**URL:** <https://forum.kirupa.com/t/guestbook-refresh-problem/176528>\
**Category:** flash\
**Created:** [January 24, 2006, 8:08pm UTC](https://forum.kirupa.com/t/guestbook-refresh-problem/176528 "2006-01-24T20:08:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pete\_zahut](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pete\_zahut](https://forum.kirupa.com/u/pete_zahut)\
**Post date:** [January 24, 2006, 8:08pm UTC](https://forum.kirupa.com/t/guestbook-refresh-problem/176528/1 "2006-01-24T20:08:33Z")

</div>

Hi,

I made a guestbook where you can add a message and draw a little something, check it out over here: [.L.I.N.K.](http://www.exquisitecomic.be/)

[SIZE=“1”]It’s in a premature face and needs an integration into something bigger…[/SIZE]

**My problem** with it is that if you’ve added a feed and you press the refresh button it doesn’t refresh in Internet Explorer but it works fine in Firefox :pa: …

My code for it looks like this:

[AS]function startUp() {  
gallery\_xml = new XML();  
gallery\_xml.ignoreWhite = true;  
gallery\_xml.onLoad = function(success) {  
if (success) {  
var feeds = this.firstChild.childNodes;  
delay = setInterval(createFeeds(), 50);  
}  
}  
gallery\_xml.load(“myxmlfile.xml”);  
}

function createFeeds() {

```
clearInterval(delay);

var xml_feeds = gallery_xml.firstChild.childNodes;
var test:Number = xml_feeds.length;

for (var i=0; i&lt;xml_feeds.length; i++) {
	
	test--;
	
	var xml_feed = xml_feeds[test];
	
	var feed = scroll.feeder.mc_feed.duplicateMovieClip("feed_"+i, 10+i);
	feed.id = i;
	feed._x = (scroll.feeder.mc_feed._width + 5) * i;
	feed._y = 0;

	scroll.feeder["feed_"+i].txt_name.text = xml_feed.attributes.name;
	scroll.feeder["feed_"+i].txt_msg.text = xml_feed.attributes.msg;
	scroll.feeder["feed_"+i].txt_date.text = xml_feed.attributes.date;
	scroll.feeder["feed_"+i].holder.loadMovie(xml_feed.attributes.img_src);

}

```

}  
[/AS]

So when I press refresh, it calls the startUp() function…

Anyone an idea?

Thx, Pete :thumb2:
