# Jerky movement on onEnterFrame

**URL:** https://forum.kirupa.com/t/jerky-movement-on-onenterframe/147056
**Category:** Uncategorized
**Created:** [May 6, 2005, 4:46pm UTC](https://forum.kirupa.com/t/jerky-movement-on-onenterframe/147056 "2005-05-06T16:46:42Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![veraxoxo](https://avatars.discourse-cdn.com/v4/letter/v/f19dbf/32.png) [@veraxoxo](https://forum.kirupa.com/u/veraxoxo)
#### Post date: [May 6, 2005, 4:46pm UTC](https://forum.kirupa.com/t/jerky-movement-on-onenterframe/147056/1 "2005-05-06T16:46:42Z")

</div>

I am using a typical onEnterFrame function to move a movieclip from right to left across the screen. (I have tried this using a simple \_x coordinate shift as well as an easing algorithm).

In both cases, the movement is pretty smooth at high bandwidth speeds, but on slower download speeds, the movement is VERY jerky.

\*\*\_root.myMC.onEnterFrame= function(){

if(\_root.myMC.\_x \> 0){  
\_root.myMC -= 10;  
}

};\*\*

Has anyone a solution to this?
