Loading AS2 .swf files

I’ve been tearing my hair out trying to figure out how to properly load old AS2 .swf files so that they don’t have mouse issues, or cause my AS3’s timeline to screw up. The main problem comes down to:

The old AS2s are using _root within their source code and its creating major bugs as when I load the AS2 it somehow sets its AS2’s root to the AS3 container, this causes major mouse event bugs, screws with my AS3’s timeline etc…

Now, this would be an easy fix if I had access to the old AS2 source code (which I don’t) by adding _lockroot = true in the first frame of every AS2 .swf. That would lock the root of the AS2 to itself, but I don’t have access to do that. So I tried to make a separate AS2 loader with _lockroot = true that simply loads the old AS2s and then I would load the AS2 loader into my AS3 .swf. This didn’t work because what would happen is the addchild(“AS2 loader”) would execute before the AS2 loader had completed loading the old AS2 .swf and nothing would be displayed. For this to work somehow I would have to sent a custom Event.COMPLETE from the AS2 Loader to the AS3, but I don’t think that is possible?

Anyways, basically I’m just trying to load old AS2 .swf which I don’t have the source code for anymore without them having mouse issues or causing the AS3 timeline to screw up.

Here is the basic AS3 loading code I’m using,

var loader:Loader = new Loader();
loader.contentLoaderInfo.addEventListener(Event.COMPLETE, completeHandler);
loader.contentLoaderInfo.addEventListener(IOErrorEvent.IO_ERROR, ioErrorHandler);

var request:URLRequest = new URLRequest(url);
loader.load(request);        
         
public function completeHandler(event:Event):void {
    this.addChild(event.target.content);
}

Thanks in advance