Controling loaded SWF with AS3

I’m loading a SWF into a main SWF using the code bellow, from senocular tutorials:


var request:URLRequest = new URLRequest("home.swf");
var loader:Loader = new Loader();

loader.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loadProgress);
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, loadComplete);

function loadProgress(event:ProgressEvent):void {
    var percentLoaded:Number = event.bytesLoaded/event.bytesTotal;
    percentLoaded = Math.round(percentLoaded * 100);
    trace("Loading: "+percentLoaded+"%");
}
function loadComplete(event:Event):void {
    trace("Complete");
}


loader.load(request);
window_mc.textos_mc.addChild(loader);

I have buttons inside a movie clip, at the main movie (parent) and I want to control the home.swf movie that I just loaded. How can I do that?

I’m trying this, without any result:


function botao_clique(e:MouseEvent):void{
	MovieClip(root).window_mc.textos_mc.gotoAndStop(2);
}

Thanks for any help