Just a quick but related question;
Has anybody out there had a problem when loading an swf into a movie clip loads fine, but only once?
I've got a menu, where you select your stage, and the level pops up, then, in the main.swf I have an enterframe checking for if the user presses 'q'.
If done so, it unloads the movie and then takes you back to the start menu again. However, when I go back in to the same part, it doesn't load properly again.
Or perhaps it does load, but immediately I am taken back to the start menu again without having pressed any keys.
Code:
_parent._visible = false;
globalSound = new Sound();
globalSound.stop();


var mcl:MovieClipLoader = new MovieClipLoader();

var mclL:Object = new Object;

mclL.onLoadProgress = function(target, loaded, total) {
	_root.loader.percent.text = Math.round( (loaded/total) * 100) + "%";
}

mclL.onLoadInit = function(){
	_root.loader._visible=false;
	_root.loader.percent.text="";
}

mcl.addListener(mclL);

mcl.loadClip("gun2.swf",_root.contents);
	
	
this.onEnterFrame= function()
{
	if(Key.getCode()==81)
	{
		mcl.unloadClip(_root.contents);
		_parent._visible = true;
		_parent._parent.gotoAndPlay("return");
	}
}