# Is it possible to change a MC's anchor/registration point with AS?

**URL:** <https://forum.kirupa.com/t/is-it-possible-to-change-a-mcs-anchor-registration-point-with-as/163455>\
**Category:** flash\
**Created:** [September 22, 2005, 2:51pm UTC](https://forum.kirupa.com/t/is-it-possible-to-change-a-mcs-anchor-registration-point-with-as/163455 "2005-09-22T14:51:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![keitai](https://avatars.discourse-cdn.com/v4/letter/k/73ab20/32.png) [@keitai](https://forum.kirupa.com/u/keitai)\
**Post date:** [September 22, 2005, 2:51pm UTC](https://forum.kirupa.com/t/is-it-possible-to-change-a-mcs-anchor-registration-point-with-as/163455/1 "2005-09-22T14:51:19Z")

</div>

Wondering if it is possible to change a MC’s anchor/registration point with AS. So when I use the following a mc grows from different points.

```auto

movieclip.prototype.grow = function(pClip, xValue, yValue, speed)
{
	pClip.onEnterFrame = function()
	{
		trace("ease this "+this._width)
		this._xscale += (xValue-this._width)/speed;
		this._yscale += (yValue-this._height)/speed;
		if (this._width == xValue && this._height == yValue)
		{
		delete this.onEnterFrame;
		}
			
	}
}

```
