# Control Movie Clip using Buttons

**URL:** https://forum.kirupa.com/t/control-movie-clip-using-buttons/259562
**Category:** flash
**Created:** [May 6, 2008, 6:12pm UTC](https://forum.kirupa.com/t/control-movie-clip-using-buttons/259562 "2008-05-06T18:12:23Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![scoopermanII](https://avatars.discourse-cdn.com/v4/letter/s/da6949/32.png) [@scoopermanII](https://forum.kirupa.com/u/scoopermanII)
#### Post date: [May 6, 2008, 6:12pm UTC](https://forum.kirupa.com/t/control-movie-clip-using-buttons/259562/1 "2008-05-06T18:12:23Z")

</div>

Hello,

I am new to Action Script or any kind of programming language, but determined to try and understand it.  
My question is probably very simple, all I am trying to do is control “myMovie\_mc”.  
I have created four buttons “up\_btn”, “down\_btn” etc.  
I can get the movie clip to move each time I rollover a button.  
How do I get continuous movement when I keep my cursor over a button?  
Thanks in advance for your help.

up\_btn.onRollOver = function() {  
\_root.myMovie\_mc.\_y -= 10;  
updateAfterEvent;  
}
