Updating code for Lionbichstudios tutorial

I would like to update this “Rollover Depth” script to work in Flash Player 7 (works in 6):
(http://www.lionbichstudios.com/flash_tutorials_actionscript_rolloverdepth.html)

The functionality works much better than the standard rollOver/rollOff scripts.
I assume there’s a problem with how the variables are declared, but haven’t been able to fix it yet. Anyone have any ideas?

MovieClip.prototype.jumpSkale = function(obj, rush, friction) {
this.tempo += (obj - this._xscale) * rush;
this.tempo *= friction;
this._xscale = this._yscale += this.tempo;
};
for (var i = 1; i <= 3; i++) {
this[“MC” + i].onEnterFrame = function() {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this.jumpSkale(400, .9, .6);
} else {
this.jumpSkale(100, .6, .5);
}
};
this[“shadow” + i].nr = i;
this[“shadow” + i].onEnterFrame = function() {
this._xscale = this._yscale = _root[“MC” + this.nr]._xscale;
};
}