Ver Mensaje Individual
  #2 (permalink)  
Antiguo 08/12/2005, 08:48
Avatar de Bandit
Bandit
Moderador
 
Fecha de Ingreso: julio-2003
Ubicación: Lima - Perú
Mensajes: 16.726
Antigüedad: 20 años, 9 meses
Puntos: 406
Hola Fernand0:
Hazlo de la siguiente forma:
En un MC coloca la animación de Forma del color del rectángulo y al ponerlo en el escenario en la capa 1 frane 1 le das como nombre de instancia: Transformacion.
En la capa 2 frame 1 escribe el código así:
Transformacion.onRollOver = function() {
Transformacion.onEnterFrame = function () {
if (this._currentframe != 15) {
this.nextFrame();
}
else {
this.stop();
delete this["onEnterFrame"];
}
}
}
Transformacion.onRollOut = function() {
Transformacion.onEnterFrame = function () {
if (this._currentframe != 1) {
this.prevFrame();
}
else {
this.stop();
delete this["onEnterFrame"];
}
}
}

Espero haberte sido de ayuda.
__________________
Bandit.
Si no sabes estudia y si sabes enseña.
http://www.banditwebdesign.com/