Completely removing externally loaded swf's

Hi!

I have a new problem in the development of my site…

I have a main swf that loads external swf’s using this code:

var swfLoader:Loader = new Loader();
swfLoader.load(new URLRequest(swfArr[numArr]));
addChild(swfLoader);

Nothing wrong here… Just Checking…

The problem is that in my main swf I have an Event Listener for stage resize… And inside each external swf too… So, when after I’ve loaded a 2nd external swf it’s still listening for the 1st swf event listener!! It throws the error: “TypeError: Error #1009: Cannot access a property or method of a null object reference.”

How can I prevent this from happening??