Ok… really really odd and annoying error. Almost every other time I test publish this file, it runs the file fine, I click the “x” to close it and go back to editing it. Almost every time I do this it crashes flash instantly (“flash has encountered an error and needs to close”).This only happens with one particular file- all it does is load data from a file, or rather a sequence of files.
this.createEmptyMovieClip("target_mc", this.getNextHighestDepth());
for(i=1;i<12;i++){
loadVariables("myInfoUrl/?type="+i, target_mc);
}
function checkParamsLoaded() {
if (target_mc.user_dob == undefined) {
trace("not yet.");
} else {
trace("finished loading. killing interval.");
trace("-------------");
for (i in target_mc) {
showVar += i+": "+target_mc*+"
";
}
trace(showVar);
trace("-------------");
clearInterval(param_interval);
}
}
var param_interval = setInterval(checkParamsLoaded, 100);