It is a problem with the docListener.mousemove method.
The following code change needs to be made. This way, the layer
position remains the same on the screen when you move it from a layer to
the document.
------- Start Original -------------------------------
de.pageX=e.getPageX();
de.pageY=e.getPageY();
------- End Original -------------------------------
------- Start New -------------------------------
de.pageX=e.getPageX();
de.pageY=e.getPageY();
de.parentPageX=lyr.parent.getPageX();
de.parentPageY=lyr.parent.getPageY();
------- End New -------------------------------
--
Michael Pemberton
[EMAIL PROTECTED]
ICQ: 12107010
