Some Flash Action Script…
If you ever need to get the instance or parent name of a movie clip you can give the parent movie clip a variable in the first frame such as:
RetName = “sample1”;
Then you can call it at any time using the following method:
InstanceName = movieclip.RetName;
movieclip being the child.
I needed to do this recently for a flash game and only just worked this out.