Ciao a tutti,
ho un problema che non capsico e non riesco a risolvere
cioè:
carico un file txt esterno con questa funzione
codice:
this.onEnterFrame=function(){
System.useCodepage = true;
dati = new LoadVars();
dati.load("file_pdf/nuovo.txt");
dati.onLoad = function() {
link_txt.html = true;
link_txt.htmlText = this.var1;
delete dati;
_root.link_txt=link_txt
};
if (_root.suCont) {
_root.link_txt.scroll--;
}
else if (_root.giuCont) {
_root.link_txt.scroll++;
}
};
e il file txt esterno è cosi impostato
codice:
var1=<a href="file_pdf/1_11-07-06.pdf" target="_blank">11/07/06
TESTO 1</a>
<a href="file_pdf/2_11-07-06(2).pdf" target="_blank">11/07/06
TESTO 2</a>
<a href="file_pdf/3_11-07-06.pdf" target="_blank">11/07/06
TESTO 3</a>
il file viene caricato nel swf e funziona ma mi occupa tutta la cpu(cioè task manager vedo la cpu che va dai 97 a 100 %) ed i primi pdf me li fa aprire ma poi la cpu rimane sui 100% e non mi fa aprire piu niente
che cosa c'è che non va nella funzione?