Why doesnt this work

im trying to get a movieclip i have on the maintimeline to swap its depth with a emptymovieclip im creating, i want to change the depth of the movieclip on the maintimeline which is stage to go to level 1.

heres the code im using any help is greatly appreciatted thanks

_root.createEmptyMovieClip("target", 1);
target.swapDepths("stage");