jw06
February 8th, 2004, 05:58 PM
Ok ive done evertyhing right so far with making text go to a text box. When i test it with ctrl+enter it works fine.. it reads the .txt's fine. when i upload it they wont load the text to the dynamic box... heres my code:
on (release) {
loadText = new loadVars();
loadText.load("news.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
scroller.text = this.mynews;
}
};
}
And
on (release) {
loadText = new loadVars();
loadText.load("contact.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
scroller.text = this.mynews;
}
};
}
on (release) {
loadText = new loadVars();
loadText.load("news.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
scroller.text = this.mynews;
}
};
}
And
on (release) {
loadText = new loadVars();
loadText.load("contact.txt");
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
scroller.text = this.mynews;
}
};
}