# Continous movement on rollOver

**URL:** <https://forum.kirupa.com/t/continous-movement-on-rollover/213024>\
**Category:** flash\
**Created:** [January 16, 2007, 1:39pm UTC](https://forum.kirupa.com/t/continous-movement-on-rollover/213024 "2007-01-16T13:39:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tristan888](https://avatars.discourse-cdn.com/v4/letter/t/ebca7d/32.png) [@tristan888](https://forum.kirupa.com/u/tristan888)\
**Post date:** [January 16, 2007, 1:39pm UTC](https://forum.kirupa.com/t/continous-movement-on-rollover/213024/1 "2007-01-16T13:39:23Z")

</div>

Hi,

I want a movie clip to be continously moved left when the mouse cursor rolls over a button. My following button code only moves it once and then it stops. How can u make it keep moving when the cursor remains on top of the button?

on(rollOver)  
{  
myMovie.\_x += 10;  
}

Cheers
