Allright, this is the thing.
I have a text box loading text from an external text file…
I have the old MX (not 2004) scrollbar, which seems to be all properly assigned to the correct text box.
When I test the movie, the up and down arrows of the scrollbar work fine, but the bar itself isn’t scrollable (you can’t drag it with your mouse). A cosmetic problem really, but an extremely annoying one.
Oddly enough the bar scrolls perfectly when I disable the code that loads the dynamic text and just place content in the text box on the stage.
Can anybody point me in the right direction? Thank you in advance.
Here’s the code that loads the text:
onEnterFrame = function () {
//trace ("onnistui");
loadText = new LoadVars();
loadText.load("uutiset.txt");
loadText.onLoad = function(onnistui) {
if (onnistui) {
//trace(onnistui2);
uutiset.html = true;
uutiset.htmlText = this.uutiset;
}
};
}
uutisetscrl._visible = (uutiset.maxscroll > 1);
uutiset.onChanged = function() {
uutisetscrl._visible = (this.maxscroll > 1);
};