# Changing registration point

**URL:** https://forum.kirupa.com/t/changing-registration-point/62997
**Category:** Uncategorized
**Created:** [September 2, 2004, 5:39am UTC](https://forum.kirupa.com/t/changing-registration-point/62997 "2004-09-02T05:39:16Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![evan101](https://avatars.discourse-cdn.com/v4/letter/e/edb3f5/32.png) [@evan101](https://forum.kirupa.com/u/evan101)
#### Post date: [September 2, 2004, 5:39am UTC](https://forum.kirupa.com/t/changing-registration-point/62997/1 "2004-09-02T05:39:16Z")

</div>

Hi  
I’ve been trying to loading a external swf into a movie clip but when I load it won’t align properly in the movie clip and I’m pretty sure it has something to do with the registration point of the movie clip ,can anyone help?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2004, 8:06am UTC](https://forum.kirupa.com/t/changing-registration-point/62997/2 "2004-09-02T08:06:49Z")

</div>

free transform tool…

again…

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 2, 2004, 1:09pm UTC](https://forum.kirupa.com/t/changing-registration-point/62997/3 "2004-09-02T13:09:40Z")

</div>

When you load a movie into a movieclip, the registration point is set to the point (0,0).

If you place the following action on the movieclip where you’re loading the movie into, the loaded movie will be centralized:

```auto
onClipEvent (data) {
if(this._width){
this._x-=this._width/2;
this._y-=this._height/2;
}
}

```

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 3, 2004, 10:55am UTC](https://forum.kirupa.com/t/changing-registration-point/62997/4 "2004-09-03T10:55:48Z")

</div>

I had this problem and found you need to make sure that the movie that your loading is all packaged inside a Mc and the x,y coordinates of the Mc are x=0 y=0. This will effectively move it off the scene but don’t work co it will still load fine.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [September 3, 2004, 10:57am UTC](https://forum.kirupa.com/t/changing-registration-point/62997/5 "2004-09-03T10:57:47Z")

</div>

Looking at claudios reply, mine is basically the same but without any script. The manual way really
