Hey Everyboody,
I’m using a scrollbar and textbox that I got here at Kirupa. I was wondering if there is any way to make this scrollbar function when a user tries to scroll it with the scrroll wheel on their mouse. Does anybody know if this is possible? If so, how?
Here is the scollbar I used: http://www.kirupa.com/developer/mx/dynamic_scroller.htm
And here is my code for my scrollbar:
loadText = new LoadVars();
loadText.load(“news.txt”);
loadText.onData = function(myLoadedText) {
// check and make sure it loads
if (myLoadedText != undefined) {
scroller.html = true;
scroller.htmlText = myLoadedText;
// do whatever else here.....
// if it doesn't load, play a MC that says something like "loading error"
} else {
myErrorMC.gotoAndStop("loadingError");
}
}
Thanks a lot.