swfloader: can I catch all the exceptions from the loaded swf?
问题 I am loading a swf into another swf using swfloader, I want to catch all the exceptions thrown by the inner swf, is it doable? 回答1: Here are some basics that may help. In short, you cannot use try/catch here. Errors in loading external content cannot be caught with try..catch..finally statements. Instead you have to create event handlers to handle and “catch” the error events. If you do not have an event listener assigned to an error event and that error occurs, the Flash player will inform