Scrollbar touble

I’m having trouble with my scroller only scrolling when it gets to the bottom of the path.

This is from the tut on this site [color=#22229c]http://www.flashkit.com/tutorials/I…s-922/index.php[/color]. Here is the actionscript I have for each mc:

//textbox (height=300 width=250):
onClipEvent (load) {
loadVariables (“text.txt”, “”);
}
onClipEvent (enterFrame) {
this.textbox.scroll = this._parent.slider.b;
}

//slider (height=20 width=15):
on (press) {
startDrag (this, false, this._parent.path._x, this._parent.path._y+280, this._parent.path._x, this._parent.path._y);
}
on (release, releaseOutside) {
stopDrag ();
}
onClipEvent (load) {
setProperty (this, _x, int (_x));
}

onClipEvent (enterFrame) {
a = new Object ();
a.y = this._y;
a.x = this._x;
this._parent.path.globalToLocal (a);
b = int (a.y/(280/this._parent.newstext.textbox.maxscroll));
}

//path (height=280 width=15):
onClipEvent (load) {
setProperty (this, _x, this._parent.slider._x);
setProperty (this, _y, this._parent.slider._y);
}

check the b values using a trace in the slider onClipEvent(enterFrame) :wink:

I’m a n00b so how would I go about doing that.

Need help is there any body out there?