AS3 Contronl one movie clip from inside of another movie clip

Hi,
I have two movie clip on the stage(root) say A and B. There is a nested movie clip © inside A movie clip. When I click on C I want movie clip a will gotoAndStop frame 2.
Could you please help what code should I write on frame 1 inside B movie clip?

I wrote the following code but it not working:
stop();
import flash.events.MouseEvent;
import flash.net.navigateToURL;
import flash.net.URLRequest;

contact_mc.addEventListener(MouseEvent.CLICK, showaddress);
function showaddress(evt:MouseEvent):void
{
//address_mc.gotoAndStop(“2”);
MovieClip(address_mc).gotoAndStop(“stayHere”);
}
Thank you advance for your help.