# Scroll script issue

**URL:** <https://forum.kirupa.com/t/scroll-script-issue/12197>\
**Category:** Uncategorized\
**Created:** [January 28, 2003, 5:49am UTC](https://forum.kirupa.com/t/scroll-script-issue/12197 "2003-01-28T05:49:48Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![xmattx](https://avatars.discourse-cdn.com/v4/letter/x/6de8d8/32.png) [@xmattx](https://forum.kirupa.com/u/xmattx)\
**Post date:** [January 28, 2003, 5:49am UTC](https://forum.kirupa.com/t/scroll-script-issue/12197/1 "2003-01-28T05:49:48Z")

</div>

im using this script to scroll a MC however the script only scrolls evertime the user clicks, i want it to scroll on hold also, how is that accomplished:

on (press) {  
scrollerdn = getProperty(“webnav”, \_y);  
newscrolldn = Number(scrollerdn)+10;  
if (Number(newscrolldn)\>-33) {  
newscrolldn = “-33”;  
}  
setProperty (“webnav”, \_y, newscrolldn);  
…:ScrollBarName = \_target;  
…:ScrollBarValue = newscrolldn;  
call ("…:ScrollUpdate");  
}

thanks.
