I have a dynamic text box called “news”. I also have 2 custom scroll buttons on a different layer labeled “upbutton” and “downbutton”.
I applied this action to my “news” text box:
scrollText = function (news) {
about.scroll += news;
};
upbutton.news = -1;
downbutton.news = 1;
upbutton.onRollOver = downbutton.onRollOver =function () {
scrollInt = setInterval (scrollText, 1000/24, this.news);
};
upbutton.onRollOut = downbutton.onRollOut =function () {
clearInterval (scrollInt);
};
What am I doing wrong? It wont scroll. The text I use is called from an external text file called news.txt
Any ideas? I attached my .FLA file and news.txt