Preloading external SWF -- something different, i think

as i´ve been thrown into this and have to do some advanced programming, i have a less advanced question about preloading that i can´t seem to find any documentation regarding this issue.

let´s say in the third scene of my main.swf, i need to preload an external swf and load it onto that time line, in a particular layer called EXTERNAL. now this isn´t just one external swf, but one that comes from the server based upon some user input (there are about 300 options) of course the file will come from the server with the same name to avoid repetitive headaches, but my thinking on this subject is clouded.

either two things happen. either the external swf plays over top of the main.swf or nothing at all.

here´s the code i have that talks to the preload class and the preload_mc, which works nicely to preload the main swf, but i´m not sure what to do to it to make it preload and play this external swf in the line with the other layers happily doing their thing.

thanks!


stop();

function onPreloadEnd(){
preload_mc.removeEventListener(“onPreloadEnd”, this);
gotoAndPlay(“FlyAway”);
}

preload_mc.addEventListener(“onPreloadEnd”, this);

preload_mc.startPreload(this);