I’ve got this vexing problem. I want to load a short quiz created from the flash quiz template into a movie. The problem is that navigation in the quiz template needs _lockroot enabled in order to be able to function correctly. The question is, after I am done, how do I unload it.
I’m loading using this code:
var mList:Object = new Object();
var mLoad:MovieClipLoader = new MovieClipLoader();
mLoad.addListener(mList);
var hold:MovieClip = this.createEmptyMovieClip("holder", this.getNextHighestDepth());
hold._x = 0;
hold._y =0;
loadQCBtn.onRelease = function(){
mLoad.loadClip('QualityControl.swf',holder);
this.enabled = false;
}
The unload code I am using for a different movie that is not bound by _lockroot , to get back to the navigation page is
myButton.onRelease = function(){
unload()
}
I’m not that proficient of a coder to know what to change in the quiz navigation actionscript to make the code work.
Any help would be greatly appreciated!