SlideShowPro Account Center: User Forums

You are not logged in.

#1 2010-03-10 10:43:33

schoolwires
New Member
Registered: 2009-01-05
Posts: 3

can SSP auto check for XML changes?

Is there a way that SSP can check for changes to the XML file loaded... I have my SSP pulling from an XML file that is generated through an ASP script.

My XML changes, but my SSP doesn't seem to ever check for changes to the file that was originally loaded.

The problem here lies in the fact that if a file is deleted from the folder, and SSP doesn't update, the error log on my server gets a 404 when it tries to load this image.

Any insight?

thanks!

Joel Grannas

Offline

 

#2 2010-03-11 04:05:35

todddominey
Head honcho
From: Atlanta, GA
Registered: 2006-06-22
Posts: 4819
Website

Re: can SSP auto check for XML changes?

Sometimes data like this can get cached. This document may help:

http://wiki.slideshowpro.net/SSPfl/C-PreventXMLCaching


Todd Dominey
support[at]slideshowpro.net

Offline

 

#3 2010-03-11 05:24:52

schoolwires
New Member
Registered: 2009-01-05
Posts: 3

Re: can SSP auto check for XML changes?

I have tried something similar where i append a random number onto the end of the XML call string.

What I tried:

xmlPath = "http://jgrannas.schoolwires.com/jgrannas/assets/templates/utilities/getimagesxml.asp?base_folder=homepage_flash/&folderName=jgrannas&NOCACHE=" + random(8000);
this.my_ssp.xmlFilePath = xmlPath;


However, this does not help when a person does not refresh the browser... which happens a lot with my clients, they have a lab full of computers with each machines homepage set to a page with the slideshowpro in it. When an administrator deletes a picture, multiple machines start calling that picture and send errors to the log files on the servers which make the logs huge and hurts server performance.

Questions:
1. Does SSP try to recall the XML at any time while running, or does it only call on initialize?
2. Is there a way to check for XML change and reload the SSP?


-----

This is a huge issue for us... It would be amazing to find a solution, and I appreciate any help you can provide

Last edited by schoolwires (2010-03-11 06:03:29)

Offline

 

#4 2010-03-11 08:37:50

todddominey
Head honcho
From: Atlanta, GA
Registered: 2006-06-22
Posts: 4819
Website

Re: can SSP auto check for XML changes?

1. Does SSP try to recall the XML at any time while running, or does it only call on initialize?

Only when initialized.

2. Is there a way to check for XML change and reload the SSP?

Not within the player. You'd need to forcibly reload the page to request new data.


Todd Dominey
support[at]slideshowpro.net

Offline

 

#5 2010-07-10 09:23:21

peter@pixel-gallery.com
Member
Registered: 2006-03-15
Posts: 30

Re: can SSP auto check for XML changes?

Hi,

i´ve searched the whole forum for a method to reload the xml.
Why it is not possible to call a simple method like loadNewXML or something similar, or stop ssp and start it again after i set the xmlFilePath???

I have the problem by now that i use the gaiaflashframework, ssp is on one page at keyframe 1 and is trying to load a xml that not exist by the component configurations. But i want to set a dynamic path to that ssp with a little delay and than the ssp should start with that new xml file.
The reason is that i would like to configurate the layout in the ide except with AS3.

Is there no way to change the xml on the fly without to reload the swf or set an instance via actionscript to stage?

Regards

Peter

Offline

 

#6 2010-07-10 09:40:30

peter@pixel-gallery.com
Member
Registered: 2006-03-15
Posts: 30

Re: can SSP auto check for XML changes?

Ok i dit now with a little work arround.

var sspContainer_mc = new sspContainer(); // sspContainer is linked library symbol
              sspContainer_mc.ssp.xmlFilePath = "xml/images.xml";
              addChild(sspContainer_mc);

So i´m able to do the component configuration inside the ide and put the instance on stage with my different xml files.

Maybe it help someone out.

Regards

Peter

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson