[FMX04]swapDepth issue. Help Please!

Here’s the problem. I’m building a site and in one Scene I have 3 mc that I are supposed to change depth each time they are selected. Making the selected one come to the top of the others. So far no problems. The problems start when I press the a button to change to another Scene. If I do this after pressing the mc when I change Scene the mc don’t disapear with the rest of the scene they belong in.
Can anyone help me with this?

order = 101;
function initObject(myObject) {
_root[myObject].onPress = function() {
order += 2;
_root[myObject].swapDepths(order);
_root[myObject].startDrag();
};
_root[myObject].onRelease = function() {
_root[myObject].stopDrag();
};
}
initObject(“Object_1”);
initObject(“Object_2”);
initObject(“Object_3”);