I have a series of dragable, scaleable images on my stage, an I am having trouble with them covering each other up. swapDepth works with images that are all within the same parent movie, but if they are in different parent movies, it doesn't work, any ideas (Aside from putting them all in the same parent movie?)
here is the function used to swapDepths:
function startdrg (img,pic) {
img.swapDepths( 500 );
img.gotoAndStop (1);
startDrag (img, false, -756, -555, (-90-(pic._width-74)),(-125-(pic._height-120)));
};
the images ("img" in the function) reside in the following MC tree:
_root
icons
rbicons
res
img1
img2
img3
img4
plaz
imgA
imgB
imgC
imgD
imgs 1,2,3,4 all swapDepths with each other fine, as do A,B,C,D but just not with each other (1&A,2&D,etc.)
thanks much
bugg
here is the function used to swapDepths:
function startdrg (img,pic) {
img.swapDepths( 500 );
img.gotoAndStop (1);
startDrag (img, false, -756, -555, (-90-(pic._width-74)),(-125-(pic._height-120)));
};
the images ("img" in the function) reside in the following MC tree:
_root
icons
rbicons
res
img1
img2
img3
img4
plaz
imgA
imgB
imgC
imgD
imgs 1,2,3,4 all swapDepths with each other fine, as do A,B,C,D but just not with each other (1&A,2&D,etc.)
thanks much
bugg