Unload swf issue

Bonjour.

I have a couple of swfs I’m loading in to my main movie based on mouse click. Each movie has it’s own button which is actually working fine. My issue is unloading the currently loaded swf before the new one is loaded, I was hoping I could drop in an ‘unload’ on each of the buttons to run before the next swf is loaded… but I can’t seem to make the code work with what I already have. Should I have gone about this a different way?

function setupEvents() {

buttonPitch.addEventListener(MouseEvent.CLICK, clickButtonHandler);
}
setupEvents();

function clickButtonHandler(e:MouseEvent) {
var myLoader:Loader = new Loader();

addChild(myLoader);
var url:URLRequest = new URLRequest(“pitch.swf”);

myLoader.load(url);
}

function setupEvents2() {

buttonRedbutton.addEventListener(MouseEvent.CLICK, clickButtonHandler2);

}
setupEvents2();

function clickButtonHandler2(e:MouseEvent) {

var myLoader:Loader = new Loader();

addChild(myLoader);
var url:URLRequest = new URLRequest(“redbutton.swf”);

myLoader.load(url);
}

Thanks in advance for any help…