In the code I am working on I am attaching MCs to other MCs. However, when I remove the second MC the first one gets removed too. HexStore contains a load of game hex MCs. LastLocation is the last hex MC clicked. myBrigade is the extra MC that needs to be removed from the LastLocation MC. Here is the code:
_root.HexStore[_root.LastLocation].removeMovieClip(_root.HexStore[_root.LastLocation][“myBrigade”]);
Any idea where I’m going wrong with this?