Changing registration point

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?

free transform tool…

again…

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:

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

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.

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