I need to check if a user is connected to the internet. What's the fastest way to do that in Flash AS3?

有帮助吗?

解决方案

Do an HTTP GET of a very reliable and fast website, like google.com.

See AS3 HTTP Get Example.

其他提示

Make a request. If it fails - there is no internet :)

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top