# Custom Scrollbar problem

**URL:** <https://forum.kirupa.com/t/custom-scrollbar-problem/28265>\
**Category:** flash\
**Created:** [August 11, 2003, 11:00pm UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265 "2003-08-11T23:00:51Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![grandsp5](https://avatars.discourse-cdn.com/v4/letter/g/6bbea6/32.png) [@grandsp5](https://forum.kirupa.com/u/grandsp5)\
**Post date:** [August 11, 2003, 11:00pm UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265/1 "2003-08-11T23:00:51Z")

</div>

I am making a scroll bar but it doesn’t scroll as far as it should. I triple checked all my math but I can’t find anything wrong. If you have a while, please check it out and help me. Probably the code of interest is on the movie clip content0 within the instance whole. This is what actually controlls the scrolling. Most of the other script dictates how the sliders work so you can ignore that, they work fine. Scroll index is a number between 0 and 1 indicating how far down the bar the slider is, 0 it hasnt moved, 1 it is at the bottom. That works as well. So i am not sure why this doesnt work. Thanks a bunch, I know this is kind of a tough problem.

---

<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:** [August 12, 2003, 10:32am UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265/2 "2003-08-12T10:32:22Z")

</div>

Hoi

your math is right but your math thinks that your  
registration point of the contents is on top of the mc but itsn’t so to fix it change your math so it work out what to do if the registration point is in the middle or easyer is just to move your registration point to the top…😏

😉

---

<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:** [August 12, 2003, 4:09pm UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265/3 "2003-08-12T16:09:15Z")

</div>

oh ok. Thanks a bunch 🙂 I’ll see if that works.

---

<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:** [August 12, 2003, 4:11pm UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265/4 "2003-08-12T16:11:21Z")

</div>

hmm, i moved the point but it is the same ☹ All i did was hit transform over it and move the white circle to the top. Did I do anything wrong?

---

<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:** [August 12, 2003, 5:07pm UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265/5 "2003-08-12T17:07:58Z")

</div>

No that is the transform registration point you need the change the main registration point.

you can’t move the point directly you have too change the contents by duddle clicking the mc in the stage and then select ever thing and move i down till the top is equal to the little cross on the screen and thats it 😉

Edit  
100 post :} still 500 to go to get to my post count on flashkit :}

---

<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:** [August 12, 2003, 6:23pm UTC](https://forum.kirupa.com/t/custom-scrollbar-problem/28265/6 "2003-08-12T18:23:59Z")

</div>

perfect. Fixed. That was a dumb mistake 🙂 I guess I was just staring at it so long my brain fried
