Hello guys! Sorry for my noobness xD

I have my game, with a preloader in the first frame, that when reaches 100% go to 2nd frame. That works great.

Now i made a container/parent swf, that loads that swf, with fullscreen options, and when the child swf loads, it loses its preloading action and goes directly to frame 2. I know i call my child swf by the instance name of its the movieclip container/loader but i dont know where to put the prealoder.

In my parent/loader swf, i have the loader movieclip, instance name "mainholder" and inside of it i have the "subholder" movieclip, which is the responsible of loading my child swf. In the main timeline, on the first frame i have this:

Actionscript Code:
mainholder.subholder.loadMovie("mychild.swf");

My preloading script is:

Actionscript Code:
function cargando() {

total = _root.getBytesTotal();

cargados = _root.getBytesLoaded();

//"Math.floor"
porcentaje = Math.floor((cargados*100)/total);

prelouder._width = porcentaje;



if (cargados == total) {

clearInterval(hiloPrecarga);

_root.gotoAndStop(2);
}
}
var hiloPrecarga = setInterval(cargando, 1);

stop();

Help?