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.
[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<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: