Ver Mensaje Individual
  #4 (permalink)  
Antiguo 27/12/2004, 19:14
Avatar de jahepi
jahepi
Colaborador
 
Fecha de Ingreso: diciembre-2004
Ubicación: Querétaro
Mensajes: 1.124
Antigüedad: 19 años, 4 meses
Puntos: 43
ya se cual es el problema, marca tus coordenadas de y bien pq eso esta haciendo que se pase, también se me olvido agregar que si hay un rollout la acción se borre, quedaría algo así:

Código PHP:
//Botón arriba
///////////////
on (rollOver) {
    
//Instancia del otro botón
    
_root.abajo.enabled true;
    
this.onEnterFrame = function() {
        
_root.contingut._y += 5;
        
trace("y:"+_root.contingut._y);
        
//Marca la distancia límite. 
        
if (_root.contingut._y>=400) {
            
delete this.onEnterFrame;
            
this.enabled false;
        }
    };
}
on (rollOut) {
    
delete this.onEnterFrame;
}

//botón abajo
///////////////
on (rollOver) {
    
//Instancia del otro botón arriba
    
_root.arriba.enabled true;
    
this.onEnterFrame = function() {
        
_root.contingut._y -= 5;
        
trace("y:"+_root.contingut._y);
        
//Marca la distancia límite. 
        
if (_root.contingut._y<=0) {
            
delete this.onEnterFrame;
            
this.enabled false;
        }
    };
}
on (rollOut) {
    
delete this.onEnterFrame;

Suerte!!!!!!!!

Última edición por jahepi; 27/12/2004 a las 19:23