Hi, i am developing a flash website and just wondering why it loads the external swf in when i preview in flash, but not when i preview or view it in a web browser.
This is what i have on my AS on my main movie:
This is what i have on my preloaderMC:
The rest of the preloader is basically the one that oldnewbie wrote.
This has never happened before... Why would it happen now?
Regards,
Martin
Computing Help And Info:
This is what i have on my AS on my main movie:
Code:
//loadMov function code.
function loadMov(theMov, par) {
_global.theMovLoad = "";
_global.theMovLoad = theMov;
_global.pars = "";
_global.pars = par;
_root.preloaderMC.gotoAndPlay(2);
}
//
//load the default movie in.
function loadDefault() {
trace("loading");
loadMov("home");
//delete this.onEnterFrame;
}
loadDefault();
Code:
if (_global.pars != "") {
var usr = _global.pars;
}
rand = random(100);
unloadMovie(_root.containerMC);
if (pars != "") {
trace("loading wiv var");
_root.containerMC.loadMovie("[URL unfurl="true"]http://www.team-mindgames.co.uk/fx/mgames_"+theMovLoad+".swf?id="+usr+"&"+rand);[/URL]
} else {
_root.containerMC.loadMovie("[URL unfurl="true"]http://www.team-mindgames.co.uk/fx/mgames_"+theMovLoad+".swf?"+rand);[/URL]
}
//_root.containerMC.loadMovie("[URL unfurl="true"]http://www.team-mindgames.co.uk/fx/phirax.swf?"+rand);[/URL]
//stop();
This has never happened before... Why would it happen now?
Regards,
Martin
Computing Help And Info: