Hì u all,
I can’t figure out how to solve this problem:
I have 4 mc on the stage (mc1,mc2…), each mc has a mc inside (in_mc1,in_mc2…) that onPress have to bring the respective mc on the front.
in the first frame I have
i=20;
in the first frame of each mc I have
in_mc.onPress=function(){
_root.mc.swapdepths(i++);
}
this code brings the pressed mc on the top of the others, but if I have on top mc1, then mc2 and then mc3 and I press mc2 p.e happens that mc2 is on top but mc3 is over mc1. why???
please help!!!