Skip to main content
Participant
January 28, 2007
Question

reloading XML data afert event - not working

  • January 28, 2007
  • 2 replies
  • 176 views
Hi, this is a Slide show AS. XML data is being parsed to an Array, and slideshow starts, and keeps going in loop.
So far it's working fine, but I wan't to reload XML data (to check if there are newer images, [cause this is Standalone file]) after last element of the Array (picture) has been viewed. I spent two nights trying to solve this, but nothing happens. I mean, even after the XML file is updated, SWF keeps showing an old images. This must work without restarting the SWF player.
Any ideas?


This topic has been closed for replies.

2 replies

Inspiring
January 28, 2007
I removed as much as I could, before posting it here. As you can see, my
post is Looong enough anyway, and I was just afraid that people would not
like to read through the long post.

The problem stays the same.

I've tried to copy this "xml.load" part into another function:

images_xml = new XML();
images_xml.ignoreWhite=true;
images_xml.onLoad = parse;
images_xml.load("images.xml");

and then call this function from the function imageGen(data) that's checking
if p==data.length.
But it's not loading new pictures to the slideshow..

Anyone knows why it's not working?

Thanks.



"LuigiL" <webforumsuser@macromedia.com> wrote in message
news:epi6g5$f9l$1@forums.macromedia.com...
> Why is it that people strip the credits of the code they use? Your code
> should
> include:
>
> /****************************/
> /* Crossfading slide show */
> /* Author: Todd Dominey */
> /* http://whatdoiknow.org */
> /* http://domineydesign.com */
> /****************************/
>
> Now, you might have changed something but you shouldn't remove the
> credits!
>
>


Inspiring
January 28, 2007
Why is it that people strip the credits of the code they use? Your code should include:

/****************************/
/* Crossfading slide show */
/* Author: Todd Dominey */
/* http://whatdoiknow.org */
/* http://domineydesign.com */
/****************************/

Now, you might have changed something but you shouldn't remove the credits!