# Scrollbar touble

**URL:** <https://forum.kirupa.com/t/scrollbar-touble/57890>\
**Category:** Uncategorized\
**Created:** [July 17, 2004, 7:53am UTC](https://forum.kirupa.com/t/scrollbar-touble/57890 "2004-07-17T07:53:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![headznet](https://avatars.discourse-cdn.com/v4/letter/h/34f0e0/32.png) [@headznet](https://forum.kirupa.com/u/headznet)\
**Post date:** [July 17, 2004, 7:53am UTC](https://forum.kirupa.com/t/scrollbar-touble/57890/1 "2004-07-17T07:53:39Z")

</div>

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]](http://www.flashkit.com/tutorials/Interactivity/Simple_S-Alan_Wis-922/index.php). 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);  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2004, 10:26am UTC](https://forum.kirupa.com/t/scrollbar-touble/57890/2 "2004-07-17T10:26:36Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 17, 2004, 11:21am UTC](https://forum.kirupa.com/t/scrollbar-touble/57890/3 "2004-07-17T11:21:39Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [July 19, 2004, 1:03am UTC](https://forum.kirupa.com/t/scrollbar-touble/57890/4 "2004-07-19T01:03:09Z")

</div>

Need help is there any body out there?
