swapDepths ans Publish Settings

Hy All,

I’ve got a question and I hop to find an answer here among you guys.

I’m using the following bit of code to make myMovieclip swapDepths on rollOver. and it works just fine if I set the flashplayer to Flash Player 6 in the Publish Settings.

 
on (rollOver, release, dragOver, dragOut) {;
_root.x += 2;
_parent.myMovieclip.swapDepths(_root.x);
}

But Now I’m changing some things that only work in Flash Player 9 and in that setting the swapDepths sopped working?

How can I make the above code work in FlashPlayer 9?

I thank you in advance for your replys!

Marc