Unloading movie clip in flex

Hi,

I’m using Flex to load external swfs, and casting them as movie clips so I can communicate with them. However, I’m having difficulty unloading the movieclip. I’ve tried setting loaded_MC = null, but it still continues to run in the background.

public var loaded_MC:MovieClip;

private function init():void
{
loaded_MC = MovieClip(swfLoad.content);
swfLoad.addEventListener(Event.ENTER_FRAME, unloader);
}

        private function unloader(event:Event):void
        {
            if(!show)
            {
                swfLoad.removeEventListener(Event.ENTER_FRAME, unloader360);
                swfLoad.unloadAndStop(true);
                
            }
        }

<mx:SWFLoader id=“swfLoad” complete=“init()” />