If you're trying to link to your own blog as "just a blog I happened to see on the web", the bare minimum you should do is to make sure that blog name and your screen-name in SO are different.
That said, the code over there is not listening for io-error and security-error which a URLLoader throws when it fails to locate the URL and when the URL isn't accessible due to security domain violations respectively. If you don't handle those events, Flash player will throw unhandled error and you might not even know that unless you're working on debug version of Flash player.
发布评论
评论(1)
如果您尝试将自己的博客链接到“只是我在网络上偶然看到的一个博客”,那么您至少应该做的是确保博客名称和您的屏幕名称在 SO 中是不同的。
也就是说,那里的代码没有侦听 io-error 和 security-error,
URLLoader
在无法定位 URL 和由于违反安全域而无法访问 URL 时分别抛出这些错误和安全错误。如果您不处理这些事件,Flash 播放器将抛出未处理的错误,您甚至可能不知道这一点,除非您正在使用 Flash 播放器的调试版本。If you're trying to link to your own blog as "just a blog I happened to see on the web", the bare minimum you should do is to make sure that blog name and your screen-name in SO are different.
That said, the code over there is not listening for io-error and security-error which a
URLLoader
throws when it fails to locate the URL and when the URL isn't accessible due to security domain violations respectively. If you don't handle those events, Flash player will throw unhandled error and you might not even know that unless you're working on debug version of Flash player.