# Error in Kirupa.com Scrolling Tutorial

**URL:** <https://forum.kirupa.com/t/error-in-kirupa-com-scrolling-tutorial/278608>\
**Category:** Uncategorized\
**Created:** [January 2, 2009, 3:17pm UTC](https://forum.kirupa.com/t/error-in-kirupa-com-scrolling-tutorial/278608 "2009-01-02T15:17:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![skyblu263](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@skyblu263](https://forum.kirupa.com/u/skyblu263)\
**Post date:** [January 2, 2009, 3:17pm UTC](https://forum.kirupa.com/t/error-in-kirupa-com-scrolling-tutorial/278608/1 "2009-01-02T15:17:37Z")

</div>

Hi everyone,

Can anyone tell me what the error is in this ActionScript provided by Kirupa? I do the tutorial exactly and when I test it, the scrollface (bar) starts in the center of the scrolltrack and continues past the end point (It’s like the x and y postition is totally off!). The up and down buttons work great. Technically, this is a good tutorial, but there is a problem in the ActionScript somewhere. Can anyone help with this? Here is the link to get to Kirupa tutorial:

[[COLOR=#810081]http://www.kirupa.com/developer/flash8/scrollbar3.htm[/COLOR]](http://www.kirupa.com/developer/flash8/scrollbar3.htm)

I used AS2, but if anyone has a better AS2 or AS3 code, I’d be happy to use it. THANKS!!
