Hey guys,

I have a little problem with the x,y coords.

So the thing is that I have 2 movieclips and I want one of them to be the exact position as the other one. (*object2* = same x,y coords as *object1*)

I have a simple code, but it’s not perfect because *object2* kinda bounces off.

[AS]

onEnterFrame = function () {

object2._x = object1._x;

object2._y = object1._y;

```
if (Key.isDown(Key.UP)) {
object1._y -= 5;
}
if (Key.isDown(Key.DOWN)) {
object1._y += 5;
}
if (Key.isDown(Key.RIGHT)) {
object1._x += 5;
}
if (Key.isDown(Key.LEFT)) {
object1._x -= 5;
}
```

};

[/AS]

**(red + = object2)

**

Here’s the SWF:

http://megaswf.com/s/2676462

Any help is greatly appreciated!

Thanks!

(Sorry for my bad English)