Hey,
I’m currently using a scrollbar that I got here at Kirupa. I have my site set up with with 6 different navigation buttons, each button should load a new text file. To do this, I have a movie-clip with 6 frames in it. Each frame has this scrollbar on it and will load the correct text file depending on which button you click in the navigation. Everything works fine, except the scrollbar won’t refresh itself for each different text file that loads. The scrollbar loads when the site loads, and then stays the same every time a new text file is loaded. Can anyone tell me how to make the scrollbar refresh each time a new text file is loaded? I’ve attached my FLA in a zip file.
Here is the scrollbar I used from Kirupa: http://www.kirupa.com/developer/mx/dynamic_scroller.htm
Also, here is a test version of the site: http://www.bleedmedia.com/edrose2/index2.html
And here is the actionscript used for the scrollbars:
loadText = new LoadVars();
loadText.load(“news.txt”);
//creating the loadVarsText function
loadText.onLoad = function() {
scroller.text = this.textbox1;
};
Thanks, I really appreciate the help!