I have two MCs on the same level, on the _root.
I am tryin to swap their depths.
The code doesn't work.
Here is few details about my MCs:
- mc2 is clone of mc1. (new instance)
- I dynamically load content (jpg) into MC positioned behind, then, I try to swap them.
Do dynamic loading or something else block swap command?
Does anybody have an idea why this doesn't work?
Thanks
I am tryin to swap their depths.
Code:
_root.mc1.swapDepth("_root.mc2");
The code doesn't work.
Here is few details about my MCs:
- mc2 is clone of mc1. (new instance)
- I dynamically load content (jpg) into MC positioned behind, then, I try to swap them.
Do dynamic loading or something else block swap command?
Does anybody have an idea why this doesn't work?
Thanks