Código :
on (release) {
this.onEnterFrame = function() {
var taimer:Number;
taimer = setInterval(vamos, 0500);
if (this._currentframe != 6) {
this.play();
} else {
stop();
delete this.onEnterFrame;
}
function vamos() {
play();
var tecma:Number;
tecma = setInterval(palla, 1000);
clearInterval(taimer);
}
function palla() {
stop();
_root.gotoAndPlay("exito");
clearInterval(tecma);
}
};
}
Desde ya muchas gracias.
