Removing MCs attached to other MCs

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:


Any idea where I’m going wrong with this?


takes you right where you want to be, then you added


try this:


Sorry Smee, that didn’t work either. The original MC still got removed. Any other ideas?

so, i am supposing that [_root.LastLocation] is a variable on _root?