Grazie mille!![]()
Ma nn funge
...ho seguito alla lettera le indicazioni del tutorial ma nn riesco a vedere il testo nel campo dinamico!
sullo stage ho un campo istanziato "testata"
nella funzione:
e il mio file: news.txt è:codice:function leggi() { i++; if (nuovo["argomento"+i] == undefined) { i = 1; mcTestata.testata.text = nuovo["argomento"+i]; } nuovo = new LoadVars(); nuovo.load("news.txt"); nuovo.onLoad = function(success) { if (success) { setInterval(leggi, 3000); } else { trace("lettura fallita."); } }; }
codice:argomento1=News1, testo testo testo testo testo testo testo testotesto testo testo testo&argomento2=news2, testo testo testo testo testo testo testo testotesto testo testo testo&argomento3=NEWS3, testo testo testo testo testo testo testo testotesto testo testo testo&argomento4=NEWS4, testo testo testo testo testo testo testo testotesto testo testo testo&argomento5=NEWS5, testo testo testo testo testo testo testo testotesto testo testo testo&


Rispondi quotando