Problem: repeated "getBytesTotal"-check (on an XML-file) sticks?

Greetings.

I have a Problem:

[list]
[]a “setInterval”-triggered function reloads an external XML-file (about 1300 - 1900 Bytes) every 30 seconds.
[
]the “onLoad” of the XML-handler of that file then checks the filesize with “this.getBytesTotal()”.
[]the Bytesize is compared to another value stored in a variable. At startup this is set to 0, then upon every onLoad (after the check), it’s overwritten with the new value.
[
][color=Red]when I try this online, it gives me the same filesize every time, no matter what I put in that XML or how long I make it.[/color]
[/list]This whole thing works easily with a different project that I used this on- and that project uses several onLoad-handlers for 6 or 7 XML files.

It works well when I try it locally. Both files are located in different folders on the server and I mapped that exact structure locally.

SWF>> \one wo hree\four\five\FILE.SWF
XML>> \one\six\seven\FILE.XML

The SWF opens the XML with “…/…/…/…/six/seven/FILE.XML” and it works locally, as well as upon the first load (the data is displayed, no error message)… it just doesn’t do the refreshing.

Or rather- it does the refreshing (it loads the file / executes the “onLoad”) but the file that it retrieves seems to have the old filesize.

The other project where this example works uses the same folder-structure.

Does anyone know what might be the cause of the problem?

Thanks in advance :slight_smile: