I’ve got a mc which I’ve put this code onto:
onClipEvent(enterFrame) {
var acceleration = 0.8;
nuw = this._width;
nuh = this._height;
if (this._width < 50 && this._height < 80) {
nuw = this._width;
nuh = this._height;
this._width = nuw + (3 * acceleration);
this._height = nuh + (4 * acceleration);
}
}
This makes the mc bigger. How should I do to make it shrink back to normal size again??