Cambiar de tamaño un movieclip usando una función que acelera y desacelera el cambio de tamaño. Esta versión incluye el posicionamiento.
tamany = function (este, fwidth, fheight, velocidad) {
eval(este).onEnterFrame = function() {
eval(este)._height = eval(este)._height+(fheight-eval(este)._height)/velocidad;
eval(este)._width = eval(este)._width+(fwidth-eval(este)._width)/velocidad;
this._x = 475-(this._width/2);
this._y = 325-(this._height/2);
};
};
