hey all,
when i click my button the first time my transition MC works fine but when i click it to another button it works fine too…the problem now:
when i click back to the first button it shows not the transition but only the completed transition so i get no animation
anyone have any ideas why this would be?
my code that i have on my buttons is:
on (release) {
swap1();
_root.menu_1.gotoAndStop("clicked");
}
onClipEvent (enterFrame) {
function swap1() {
if (_root.menu_1.getNextHighestDepth) {
_root.menu_1.swapDepths(_root.getNextHighestDepth());
}else if (_root.menu_2.getNextHighestDepth){
_root.menu_1.swapDepths(_root.getNextHighestDepth());
} else if (_root.menu_3.getNextHighestDepth) {
_root.menu_1.swapDepths(_root.getNextHighestDepth());
} else if (_root.menu_4.getNextHighestDepth) {
_root.menu_1.swapDepths(_root.getNextHighestDepth());
}
}
}
thanks in advance peeps