i made a littel news scroller and it works fine… but now i need it to read text from a file… so i tryed to use the read dynamic text tutorial from Kirupa but somehow im doing something wrong…
ok how did i do it:
frame 1 has a action called
news_text = "blah blah ";
This makes the text blah blah scroll, but how do i make it so this code
var loadText = new loadVars();
loadText.load("nieuws.txt"); //name of text ducument
loadText.onLoad = function(success) {
if (success) {
// trace(success);
newsBox.html = true;
newsBox.htmlText = this.myNews;
}
};
Profides the same result?
check my attached file…