Hey there, im not amazing at flash but i would like to learn everything i can. i am trying to load text from an external source, using the tutorial here.
on (release) {
loadText = new LoadVars();
loadText.load("news.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
tBox.html = true;
tBox.htmlText = this.index;
}
};
}
that is what i am using to load my txt file… i get no errors when testing, but when you click my button, the word “undefined” appears in the dynamic textbox, not what is in my txt file. anyone know whats wrong?
i tried reading other posts about this on the forum, and they helped until this occured