Fixing a MC to another moveable MC?

Hello,

I am wishing to have the user select a random MC object (the child) and be able to ‘attach it’ to a specific point on another MC (the parent). When the parent is given the order to move, both it and its child move in the same direction at the same time. I was wondering if there is either a feature that can do this, or a way in actionscript to match their exact x and y velocity with respect to the distance between the center of the parent and child objects.

I was thinking that if I gave both the child and parent the same velocity, it would be a solution. However I am unsure of how accurate this solution is. If for whatever reason the parent or childs x or y position is off (even by 0.0001) then this would start to seperate the two objects, which would defeat the goal.

Any ideas?

Thank you,
Cedwyn