A newbie's question about IOErrorEvent

Hello, I am new to AS3 and Flash in general, and hate asking dumb questions and would like to find answers on my own, but sometimes don’t know what questions to ask/google.

My situation is that I am designing a mini-website that loads external swfs. One of my swfs is missing, so when I hit the button whose function is to load it, I get an output message that says:

Error #2044: Unhandled IOErrorEvent:. text=Error #2035: URL Not Found.

So far, this makes sense to me. I got curious about how to let the user know that the swf is missing or otherwise let him or her know that I made a mistake, so I’ve learned about IO_ERROR. I came up with the following code and now I am not getting any error messages - but also nothing is happening. If there is content in the Loader already, it doesn’t go away. If the Loader is empty, it stays empty.

function page4content(evt:MouseEvent):void {
var myURL:URLRequest=new URLRequest(“page4.swf”);
myLoader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);
function ioErrorHandler(e:IOErrorEvent):void {
var myURL:URLRequest=new URLRequest(“missing_file.swf”);
}
addChild(myLoader);

Can anyone put me on the right track - tell me about a tutorial or tell me the right words to google? Thanks for your patience.