Quick swapdepths question

can i change the depths of two movieclips on the same layer with swapdepths?

so like…

mc1.swapDepths(mc2 + 1);

it’s not working for me. So i figure you can’t do it with two mc’s on the same layer…unless im doing it wrong or missing something