Help Accessing Nested Movie Clips Using XML

I am trying to access a nested movie clip that I get from an XML. Only problem is when I try passing the name to my function


public function PlayAction(parentClip:MovieClip, mcName:String, frameName:String):void
		{
			parentClip.mcName.gotoAndPlay(frameName);
		}

I get a null reference error and I don’t know why??? I tried setting mcName to one of the movie clips that I will need to access and it works the only thing is I need to be able to access different movieclips and I want to avoid switch statements as much as possible, but I am at a loss as to how to make this work. If I’m not making any sense send me a pm and I will get back to you as soon as I can.

Thanks
Zach