Hola midlox:
Tu botón hazlo dentro de un MC con una Interpolación de movimiento en 10 frames donde va creciendo.
EL MC lo pones en el escenario en la Capa 1 frame 1 y le colocas como nombre de instancia:
btn.
En la capa 2 frame 1 escribe éste código:
Código:
function forward() {
this.onEnterFrame = function() {
this.nextFrame();
if (this._currentframe == this._totalframes) {
delete this.onEnterFrame;
}
};
}
function reverse() {
this.onEnterFrame = function() {
this.prevFrame();
if (this._currentframe == 1) {
delete this.onEnterFrame;
}
};
}
//
btn.stop();
btn.onRollOver = forward;
btn.onRollOut = reverse;
Espero haberte sido de ayuda.