# AS2:: Scrolling a movie clip

**URL:** <https://forum.kirupa.com/t/as2-scrolling-a-movie-clip/245803>\
**Category:** flash\
**Created:** [December 4, 2007, 11:21am UTC](https://forum.kirupa.com/t/as2-scrolling-a-movie-clip/245803 "2007-12-04T11:21:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lilleypants](https://avatars.discourse-cdn.com/v4/letter/l/f17d59/32.png) [@lilleypants](https://forum.kirupa.com/u/lilleypants)\
**Post date:** [December 4, 2007, 11:21am UTC](https://forum.kirupa.com/t/as2-scrolling-a-movie-clip/245803/1 "2007-12-04T11:21:17Z")

</div>

Quick question:

I have this code:

```auto
 
on (release){
 
 animF_mc._x += -7;
}

```

that basically moves a movieclip left to create like a scrolling horizontal effect. BUT you have to constantly click the arrow button so I was wonder if there was a way to program it so that is I hold the mousedown on that button it keeps scrolling?

Thanks for any helpC:-)
