Checking if an External Swf is there then removing

I have checked the forums for a solution but I cant seem to find anything that works quite like I need it to. Or maybe I just don’t understand?

Here is pretty much what my code is…

 

function BiographyExternal():void
            {
                var PageBios:URLRequest = new URLRequest("Biographies.swf");
                var BiographiesLoader:Loader = new Loader();
                BiographiesLoader.load(PageBios);
                addChild(BiographiesLoader);
                
                BiographiesLoader.y = 100;
                BiographiesLoader.x = 20;
            }


This works when I want to add a movie clip, but what if I want to try and remove it? I need to check if it exists first right?

Basically in another function I want to check if this file is loaded and if it is, I want to remove it.