MovieClip Buttons

Hello Flash guru’s… I need a newbie help on a movieclip buttons… (yes… it’s one of those elastic ones…:))

Here’s the deal… In my actionscript frame is this:

[COLOR=Blue]MovieClip.prototype.elasticScale = function(target, accel, convert) {
xScale = xScale * accel + (target - this._xscale) * convert
yScale = yScale * accel + (target - this._yscale) * convert
this._xscale += xScale
this._yscale += yScale
}[/COLOR]

In my movieclip button:
[COLOR=Blue]
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
elasticScale(130,0.6,0.7);
} else {
elasticScale(100, 0.6, 0.7)
}
}[/COLOR]

Well… It works ALMOST perfectly in flash5… (THE BUTTON DOESN’T WORK)… I would like some help with the case sensitive names (this. or movieClip) so that the code would work in Flash8…

And can someone tell me why the button doesn’t work… :slight_smile:

Thank you very much :wink:

Regards, Davor