# Moving mc with AS

**URL:** <https://forum.kirupa.com/t/moving-mc-with-as/127860>\
**Category:** Uncategorized\
**Created:** [November 7, 2004, 10:34am UTC](https://forum.kirupa.com/t/moving-mc-with-as/127860 "2004-11-07T10:34:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sebjo](https://avatars.discourse-cdn.com/v4/letter/s/9de053/32.png) [@sebjo](https://forum.kirupa.com/u/sebjo)\
**Post date:** [November 7, 2004, 10:34am UTC](https://forum.kirupa.com/t/moving-mc-with-as/127860/1 "2004-11-07T10:34:34Z")

</div>

I have got HomeMenu\_mc on my stage. Now I want to move it when I roll over Menu\_btn. Here is the code I entered:

this.Menu\_btn.onRollOver = function() {  
\_root.HomeMenu\_mc.moveTo(158, 148);  
};

What’s wrong??

SEb
