Preloading .SWF

Hi guys,

I made a preloader that loads my main application. Is there a way I can transfer control to the loaded (main) .swf ? I guess what I mean is to make the main.swf the document of the player after it’s loaded.

The only way I can get it to work is by adding the main.swf as a child of the preloader.

Thanks.