Frage

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

War es hilfreich?

Lösung

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

See AS3 HTTP Get Example.

Andere Tipps

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top