Remove SWF -- kind of urgent!

Hello,

I’m loading external SWFs into a larger SWF/projector, and I need to load the next and remove the previous one.
Because of some unforseen technical requirements, I need to do this in AS3, unfortunately, I’m only used to AS2.
I need the simplest possible way. Here’s the code I’m using:

On the main movie:


// LOAD FIRST CLIP
var loadit = new Loader();
loadit.load(new URLRequest("assets/01.swf"));
this.container.addChild(loadit);

Then on 01.swf:


stop();
// LOAD NEXT
var loadit = new Loader();
addChild(loadit);
loadit.load(new URLRequest("02.swf"));

And then load 03.swf, 04.swf and so on.
When loading 02.swf, 01.swf needs to be unloaded.
How can I do this?

I have an impossible deadline to complete this, thus no time to research this properly (I have looked around and fiddled with the code but to no avail). :ponder:

Thanks for any help!