Voetsjoeba, help with golden formula...?

Try

MovieClip.prototype.easeIn = function(x, y) {
	this.onEnterFrame = function() {
		this._x = x-(x-this._x)/1.2;
		this._y = y-(y-this._y)/1.2;
		this._rotation += 5;
		if (Math.abs(this._x-x)<1 && Math.abs(this._y-y)<1) {
			this._x = x;
			this._y = y;
			this._yscale = 50-(50-this._yscale)/1.2;
			if (Math.abs(this._yscale-50)<1) {
				this._yscale = 50;
				delete this.onEnterFrame;
			}
		}
	};
};

scotty(-:

wow thanks scotty, that was quick reply.
however this is what happen , it rotate, and stop rotating… and it doesn’t scale down the Y value.

It did scale here, sure you copied and pasted?
If you don’t want the rotation to stop, skip the delete this.onEnterFrame

scotty(-:

well i try to modify the AS
to:

MovieClip.prototype.easeIn = function(x, y) {
this.onEnterFrame = function() {
this._x = x-(x-this._x)/1.1;
this._y = y-(y-this._y)/1.1;
if (this._x>x-1 && this._x<x+1 && this._y>y-1 && this._y<y+1) {
this._x = x;
this._y = y;
}
//startin yscale
_yscale += (50-_yscale)/10;
this._rotation += 3;
};
};

And it’s all working fine [COLOR=DarkOrange]But [COLOR=Black]it is scalling all the things in the stage instead of just the targeted MC

Please see swf…

What [COLOR=Red]value [/COLOR]should i change in the [COLOR=Red]AS [/COLOR]so it only scale the [COLOR=Red]Movieclip[/COLOR] instead of the whole stage ?

anyway i’m trying to imitate of what’s going on at www.naaf.no/pollen/

[/COLOR][/COLOR]

Hi Scotty…
yes, i’ve copy and paste the AS correctly

or probably i’m doing the other part wrong??
this is how I use the prototype.

var freeze= true;
_root.north.onRelease = function() {
if (freeze) {
north.easeIn(70, 90);
north1.easeIn(71, 95);
freeze = false;
} else {
freeze = true;
north.easeOut(100, 90);
north1.easeOut(101, 92);
}
};