(as3) URLloader 保持连接处于活动状态
我对简单的 URLLoader 有一个小问题,它只是从 url 加载数据,并处理该数据,没有什么复杂的。但是,当我运行它时,它会使连接保持打开状态。浏览器底部显示:
从 www.... 传输数据
数据已成功读取,因此应该关闭连接?但似乎不想这样做。是否有办法关闭所有打开的连接,或以某种方式删除此类消息?
先感谢您。
I have a little problem with a simple URLLoader, it simply just loads the data from an url, and processes that data, nothing complicated. But, when ever i run it, it leaves the connection open. At the bottom of the browser it says:
Transfering Data From www....
The data is read sucessfully, so it should close the connection? but doesnt seem to want to do it. Is there anyway to close all open connections, or somehow remove such message?
Thank you in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有一个 URLLoader.close() 方法可以解决这个问题: LiveDocs
there is a URLLoader.close() method that should do the trick: LiveDocs