Ver Mensaje Individual
  #3 (permalink)  
Antiguo 25/05/2010, 11:53
Avatar de santirekapo90
santirekapo90
 
Fecha de Ingreso: marzo-2010
Mensajes: 158
Antigüedad: 14 años, 1 mes
Puntos: 8
Respuesta: boton fade in fade out

on(release){
gotoAndPlay(2)
}


on (rollOver){
mc_animacion.onEnterFrame = function(){
if (this.currentFrame != 20){
this.nextFrame();
}
else{
this.stop();
delete this ("onEnterFrame");
}
}
}
on (rollOut){
mc_animacion.onEnterFrame = function(){
if (this.currentFrame != 1){
this.prevFrame();
}
else{
this.stop();
delete this ("onEnterFrame");
}
}
}


lo que esta en verde es lo que yo le agregué, (me dijiste vos bandit) y lo que esta en rojo es el codigo del boton que ya venia en el tuto,

el problema es que no funciona :(

¿que es lo que pasa? cunado lo apreto la animacin se hace lo mas bien pero no avanza al fotograma 2

ayuda, gracias