Frame 1
loadMC.onData = function () {
loadData_so = SharedObject.getLocal("loadData", "/kids/");
loadData_so.data.token = "yes";
loadData_so.flush();
gotoAndStop (2);
};
loadMC.loadVariables("/kids/kidsloader/loadname.txt");
stop();
Frame 2
function loadFN(h, w, n) {
mh = h;
mw = w;
mn = n;
loadMC._xscale = mult;
loadMC._yscale = mult;
nextFrame();
}
sw = Stage.width;
sh = Stage.height;
mload = ("/kids/kidsloader/" + loadMC.loadname) + ".swf";
loadMC.loadMovie(mload);
loadname = loadMC.loadname;
stop();
Frame 3
LoadMC.onEnterFrame = function () {
if (LoadMC[mn]._currentframe == LoadMC[mn]._totalframes) {
LoadMC.onEnterFrame = null;
gotoAndStop ("fin");
}
};
stop();
Frame 4
gamename = gamename + ".swf";
loadMC.unloadMovie();
_root.loadMovie(gamename);
Stage.scaleMode = "showall";
stop();