I have multiple elements on my artboard that include the Drag and Drop feature allowing for the elements to be placed on top (overlapping) one another. When the third or fourth element is selected the previous element is forced behind its previous element. Is there anyway to keep the previously placed elements from repositioning, just keeping them stationery. Below is the code applied to the button instance which is inside of its respective movie clip.
on (press, dragOver) {
startDrag(_root.Element2);
}
on (release, rollOut, dragOut) {
stopDrag();
}
on (press, release, dragOver, dragOut) {
_root.x +=9;
_root.Element2.swapDepths(_root.x);
}