PDA

View Full Version : [HELP] Flash MX, XML & PHP... with a twist...



DJ Lex
August 6th, 2003, 04:06 PM
Did a search and found some useful tips, but doesn't look like it applies to my situation. Tried to apply the 'loading a random variable' to trick it but doesn't help - although, I believe this is related to the caching problem.

I have an SWF that is using "thisXML.load". It is loading a PHP file across domains to retrieve the data. The SWF calls "thisXML.load" at timed intervals.

I'm finding that on PCs, it is using the cached data. On Macs, it is updating correctly.

You can see an example at this page:
http://www.djlex.com/software/

You'll notice that when the timer hits "0:00", it will start the timer with the old data. Any suggestions on how to force this to reload?

Thanks!

DJ Lex
August 6th, 2003, 06:49 PM
BTW, I have tried all the methods listed on the forums. :cowboy:

I've tried tweaking the loadXML script as well as the URL in the PHP file.

DJ Lex
August 7th, 2003, 12:05 PM
Help me Obi Wan Kanobi! You're my only hope!

eyezberg
August 7th, 2003, 03:26 PM
you tried appending a variable such as the current time to get a new file each time?

DJ Lex
August 7th, 2003, 03:33 PM
Yes. I took a look at the 'tip' and it says it only works with loadvars, loadmovie. I'm using loadXML.

Unless there is a better way to do it, I'm loading an XML file across domains, via a PHP proxy.

The php file is here: http://www.cluboctane.com/last10.php

The php file is calling the following XML address:
http://www.live365.com/pls/front?handler=playlist&handle=lextasy&cmd=view&viewType=xml