Ver Mensaje Individual
  #5 (permalink)  
Antiguo 07/07/2005, 09:21
Avatar de stock
stock
 
Fecha de Ingreso: junio-2004
Ubicación: Monterrey NL
Mensajes: 2.390
Antigüedad: 19 años, 9 meses
Puntos: 53
creo que nadie te ayudado en mucho....... bueno puedes hacer algo asi

Código PHP:


this
.boton1.onRelease = function():Void{
    
mover(boton1._x);
}

this.boton4.onRelease = function():Void{
    
mover(boton4._x);
}
function 
mover(pos:Number):Void{
    
this.onEnterFrame = function():Void{
        if(
barra._x pos){
            
barra._x -= 10;
            if(
barra._x <= pos)
                
delete this.onEnterFrame;
        }else{
            
barra._x += 10;
            if(
barra._x >= pos)
                
delete this.onEnterFrame;
        }
            
    }

con un poco de detalles mas es suficiente, aunque ya con eso, puedes mover la barra hasta cada boton