# Scroll help

**URL:** <https://forum.kirupa.com/t/scroll-help/52038>\
**Category:** flash\
**Created:** [May 19, 2004, 9:58am UTC](https://forum.kirupa.com/t/scroll-help/52038 "2004-05-19T09:58:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![momal\_1](https://avatars.discourse-cdn.com/v4/letter/m/f14d63/32.png) [@momal\_1](https://forum.kirupa.com/u/momal_1)\
**Post date:** [May 19, 2004, 9:58am UTC](https://forum.kirupa.com/t/scroll-help/52038/1 "2004-05-19T09:58:53Z")

</div>

[font=Arial]Hi,

Im tryin to scroll some ground.

I have got it scrolling from top to bottom, but would like to scrolli the other way - top to bottom

Here is my code:

onClipEvent (load) {  
road.duplicateMovieClip(“ground2”, 00);  
ground2.\_y = road.\_y+road.\_height -1;  
groundStarty = this.\_y;  
groundSpeed=20;  
}  
onClipEvent (enterFrame) {  
this.\_y-=groundSpeed;  
if (this.\_y\<= (groundStarty-road.\_height)){  
this.\_y=groundStarty-groundSpeed;  
}  
}

i have tried -20 but it only scrolls a bit then disapperars

Hope someon can help

Thanks [/font]
