To swap the depths of two movie clips on the same Timeline, use MovieClip.swapDepths(). For more information, see MovieClip.swapDepths().
MovieClip.swapDepths()