# Custom scroll question

**URL:** <https://forum.kirupa.com/t/custom-scroll-question/74557>\
**Category:** flash\
**Created:** [December 30, 2004, 10:27am UTC](https://forum.kirupa.com/t/custom-scroll-question/74557 "2004-12-30T10:27:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nepeace](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/nepeace/32/976_2.png) [@Nepeace](https://forum.kirupa.com/u/Nepeace)\
**Post date:** [December 30, 2004, 10:27am UTC](https://forum.kirupa.com/t/custom-scroll-question/74557/1 "2004-12-30T10:27:01Z")

</div>

Hello guys,

I am fairly new at Flash and I am totally stressing out because I have to make a presentation in Flash anyways I don’t have a loty yet but I have this problem that I would like to fix before moving on to other things. Don’t laugh at me cause it’s really easy to fix probably …

😏

I made my custom scroll with one of the tutorials on this site, (thanks for that, it’s really easy to follow and to make) but now I want to change something. I now have to push on the button and the text will scroll down or up. I would like to make it so that you can just roll over the text and it scrolls automatic. I thought that it would just work if I changed the script a little, but now I get all these errors.

on (press, release, keyPress “\<Up\>”) {  
currentScroll = scrollableText.scroll;  
if (Number(currentScroll)\>1) {  
scrollableText.scroll = currentScroll-1;  
}  
}

–\> I thought that press, release, keyPress could just be replaced with rollover or something.

Thanks in advance for the help!
