Ver Mensaje Individual
  #1 (permalink)  
Antiguo 30/01/2004, 12:23
rodrmora79
 
Fecha de Ingreso: abril-2003
Ubicación: Chile
Mensajes: 59
Antigüedad: 21 años
Puntos: 0
Problemonnnnnnn!! con lineas

por favor ayudenme....

function Link(from, to, value, url, bw) {
this.from = nodes[from];
this.to = nodes[to];
this.value = parseFloat(value);
this.bw = parseInt(bw);

linkName = linkName+"a";
_root.createEmptyMovieClip(linkName, linkDepth++);
this.clip = _root[linkName];
this.clip.parent = this;
Mouse.addListener(this.clip);
lineStyle(1, 0x000000);
with ( linkName )
{
this.clip.onEnterFrame = function(){
moveTo(getProperty(to + "_txt",_x)+(getProperty(to + "_txt", _width)/2), getProperty(to + "_txt",_y)+20);
lineTo(getProperty(from + "_txt",_x)+(getProperty(from + "_txt", _width)/2) , getProperty(from + "_txt",_y)+20);
};
}
}


tengo dos circulos... y esta linea va de uno a otro... pero cuando intento mover un circulo... se me duplica la linea.. osea me keda la primera ke se hizo... y una segunda (o tercera cuarta...etc segun la cantidad de movimientos), como lo hago para ke no lo haga... aparte se pone muy lenta la animacion de mover...

por favorrrrrrrr... ayudenmeeeeee!!! :-p

HELPPPPPPPP!!

Desesperado....
__________________
Rodrigo A. Morales G.
Desarrollador Web