well the 2 movie clips are being loaded into 2 different levels so calling them by their instance names wount work, and by level is the only way to call them.
That’s why I’m using getdepth to determine their depth first then is that info is correct swap
Ok, but I don’t know how you’re going to swap a level. Because there is no function for it. The swapDepths() function is for a movie clip instance name and another movie clip instance name. You’ll have to do something like:
[AS]
if (_root.hover.getDepth() == _level200) {
_level200.hover.swapDepths(_level201.player);
}
if (_root.player.getDepth() == _level200) {
_level200.player.swapDepths(_level201.hover);
}
[/AS]
I am a little confused though, because you are calling hover and player from _root, meaning that they should both be able to swap depths. I would recommend trying it without the _levels. Also, do you know if getDepth() returns a _level# or does it just return a number? because if that condition is never true, it will never do that stuff.