# Easing, conflict with another code?

**URL:** <https://forum.kirupa.com/t/easing-conflict-with-another-code/54410>\
**Category:** Uncategorized\
**Created:** [June 14, 2004, 1:45pm UTC](https://forum.kirupa.com/t/easing-conflict-with-another-code/54410 "2004-06-14T13:45:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ubik](https://avatars.discourse-cdn.com/v4/letter/u/b38774/32.png) [@Ubik](https://forum.kirupa.com/u/Ubik)\
**Post date:** [June 14, 2004, 1:45pm UTC](https://forum.kirupa.com/t/easing-conflict-with-another-code/54410/1 "2004-06-14T13:45:17Z")

</div>

Hello, i want to move a movieclip to a certain position, i’m using voet’s code

```auto
MovieClip.prototype.easeX = function(to){
        this.onEnterFrame = function(){
                this._x = to-(to-this._x)/1.1;
                if(this._x > to-1 && this._x < to+1){
                        delete this.onEnterFrame
                        //do other stuff here, this is the point at which the object reaches its target
                }
        }
}
bt4.onRollOver = function(){
	pa.easeX(180.9);
}
bt4.onRollOut = function() {
	pa.easeX(-400);
}

```

but when i test it nothing happens. i also have this on the mc i want to move

```auto
onClipEvent (load){
_x=-400
}

```

I have another code on another frame with quite the same code but for a resizing, is it possible that there’s a conflict between it ?

Thanks,  
Ubik
