Código ActionScript :
onClipEvent (load) { _x = 0; _y = 0; velocidad = 20; } onClipEvent (enterFrame) { posicionX = this.mcPlayer1X posicionY = this.mcPlayer1Y _x += (posicionX - _x)/velocidad; _y += (posicionY - _y)/velocidad; }
lo puse sobre el MC qe qiero qe siga a el MC qe tiene nombre de instansia de mcPlayer1 el cual controlo con el teclado