Mene zanima kako ucitati promenljivu iz nekog .txt fajla u promenljivu u flashu.
probao sam vec hiljadu stvari i uvek mi vraca undefined, takodje za loadVar.loaded vraca 'false'. Zasto?
probao sam nesto ovako:
Code:
textVar = new LoadVars();
textVar.load("text.txt"); // gde text.txt sadrzi liniju &textVar=adsskdasd
trace(textVar.loaded);
// ovo uvek vraca false - zasto?
textVar = new LoadVars();
textVar.load("text.txt"); // gde text.txt sadrzi liniju &textVar=adsskdasd
trace(textVar.loaded);
// ovo uvek vraca false - zasto?
And don't be mad at me for crying for humanity,
call it pretensions but I got good intentions,
to keep my sanity, I'm hoping, fuck, there's gotta be
an answer to their strategies and their evil inventions... ~Looptroop
call it pretensions but I got good intentions,
to keep my sanity, I'm hoping, fuck, there's gotta be
an answer to their strategies and their evil inventions... ~Looptroop