ho un problemino... un po' urgente... dovrei caricare tutte le varibile prese da un file txt al momento io le carico così:
so che è possbibile ma non trovo più il link...codice:dati = new LoadVars(); dati.path = this; dati.onLoad = function(success) { if(success){ this.path.news_0 = this.news_0; this.path.news_1 = this.news_1; this.path.news_2 = this.news_2; this.path.news_3 = this.news_3; this.path.news_4 = this.news_4; this.path.news_5 = this.news_5; gotoAndPlay(3); } else { trace("Variabili non caricate"); } }; dati.load("news.txt");![]()

-
Rispondi quotando