# \[HELP\] Flash MX, XML & PHP... with a twist

**URL:** <https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807>\
**Category:** Uncategorized\
**Created:** [August 6, 2003, 8:06pm UTC](https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807 "2003-08-06T20:06:52Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DJ\_Lex](https://avatars.discourse-cdn.com/v4/letter/d/f17d59/32.png) [@DJ\_Lex](https://forum.kirupa.com/u/DJ_Lex)\
**Post date:** [August 6, 2003, 8:06pm UTC](https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807/1 "2003-08-06T20:06:52Z")

</div>

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/](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!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 6, 2003, 10:49pm UTC](https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807/2 "2003-08-06T22:49:11Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2003, 4:05pm UTC](https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807/3 "2003-08-07T16:05:44Z")

</div>

Help me Obi Wan Kanobi! You’re my only hope!

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2003, 7:26pm UTC](https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807/4 "2003-08-07T19:26:43Z")

</div>

you tried appending a variable such as the current time to get a new file each time?

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 7, 2003, 7:33pm UTC](https://forum.kirupa.com/t/help-flash-mx-xml-php-with-a-twist/27807/5 "2003-08-07T19:33:44Z")

</div>

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](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](http://www.live365.com/pls/front?handler=playlist&handle=lextasy&cmd=view&viewType=xml)
