I'm loading third party swf:s, into a host swf and because I do not have control of the content I need to protect the host from going down because of errors that occur in the loaded swf:s. I have implemented the UncaughtErrorEvent handler both on the host and on the loader and this works for most runtime errors but I have problem with errors that occur when loading the swfs. E.g. if the user modifies the interface that is shared between the host and the loaded swf it will cast a "VerifyError: Error #1053" as soon as that particular interface is loaded (since it has the same namespace and class name as the one already loaded but does not match). This error is not caught and puts the host in a state where it won't load any other swfs.
Is there a way around this, or do I need to verify the bytes someway before actually loading the swf?