Swap depth function w/ buttons

i’m trying to embed some buttons into movie clips and then apply the swapDepth function to the movie clips themselves. when doing so, the buttons become inactive. does anyone know of a workaround for this effect?