Ver Mensaje Individual
  #7 (permalink)  
Antiguo 23/06/2010, 16:59
Josalv
 
Fecha de Ingreso: junio-2010
Mensajes: 4
Antigüedad: 13 años, 10 meses
Puntos: 0
Respuesta: Botones en movieclip resizable se mueven al hacer drag

Solucionado. En la función Arrastrar se cambia esta línea:
e.target.startDrag();

Por esta otra:

if (e.target == this) e.target.startDrag();

quedando la función completa así:


function Arrastrar(e:MouseEvent)
{
if (e.target == this) e.target.startDrag();
this.parent.setChildIndex(this, this.parent.numChildren-1);
}