Hello!
I have a question about swap depth.
I have been looking at the tut. on this site about swap depth and it works fine as long as the MC are on the main timeline. But what I need to do is to swap depth on some MC nested inside another MC, when I click a button.
Ive been trying this, but its not working:
on (release) {
_root.MC.x +=2;
_root.MC.MC2.swapDepths(_root.MC.x);
}
this is the original code:
on (release) {
_root.x +=2;
_root.MC.swapDepths(_root.x);
}
Is it even possible to do what I wanna do?
Thank so much!