ciao a tutti

ho un problemino con il caricamento di un file xml...

Ho un swf che carica un file xml;
il nome del file xml viene passato al swf tramite funzione javascript invocata al 'onload' nel tag html <body>.

Appena lancio l'html che richiama il mio filamto swf, tutto va bene. L'xml viene caricato e i dati vengono visualizzati.

Ma se faccio il refresh con il tastino del browser...
il file XML non viene caricato...

Come mai?

Per caricare l'xml uso questa sintassi:


createXML = function () {
TESTxml = new XML();
TESTxml.ignoreWhite = true;
TESTxml.load(_root.moduloXML);
TESTxml.onLoad = xmlcaricato;
};

// preload dell'XML
PreloaderXML = function () {
var car = this.getBytesLoaded();
var tot = this.getBytesTotal();
_root.link = tot
if (car == tot) {
this.onEnterFrame = undefined;
this.createXML();
}
};

this.onEnterFrame = PreloaderXML;
stop();


ciao e grazie per l'eventuale aiuto