# Movement mouvie clip

**URL:** <https://forum.kirupa.com/t/movement-mouvie-clip/50072>\
**Category:** Uncategorized\
**Created:** [April 29, 2004, 3:25am UTC](https://forum.kirupa.com/t/movement-mouvie-clip/50072 "2004-04-29T03:25:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![NinaB](https://avatars.discourse-cdn.com/v4/letter/n/ed655f/32.png) [@NinaB](https://forum.kirupa.com/u/NinaB)\
**Post date:** [April 29, 2004, 3:25am UTC](https://forum.kirupa.com/t/movement-mouvie-clip/50072/1 "2004-04-29T03:25:30Z")

</div>

Hello fellows,

I am busy building a navigation based on the principal of moving to each new page by moving the hole stage left or right, up and down. What is clear to me is that I have to create a over size movie clip and a function.  
I tried this script:

function moveObject (objecttoMove, newPosition){  
objecttoMove.onEnterFrame=function(){  
this.\_x-=(this.\_x-newPosition)\*.5  
}  
}

which enables me to move only horizontally or vertically or diagonal but not all together.

Can some one help me with a god advise, a simple one if possible?
