Actionscript help please

Ok so im trying to load a external file into my portfolio, (it can be found in the Critique section or at and when you click on the portfolio button I want it to load a external swf, then when you exit I want the loading of the swf to end but it does not. I have this AS on my portfolio frame…
this.createEmptyMovieClip(“loader”, 999);
loader._x = 40;
loader._y = 71;
loader._lockroot = false;
loadMovie(“folio.swf”, loader);
Whats up? can someone help?