mc2.onPress = function() { mc2.getNextHighestDepth(); }; mc1.onPress = function() { mc1.getNextHighestDepth(); };