Check your internet connection in Flash?

How to test active internet connection in Flash using ActionScript 3?

+3
source share
2 answers

If you use AIR, you can use a class ServiceMonitor.

Otherwise, you may want to flip your own using URLLoaderin combination with an exponential timer.

+3
source

To deploy martineno's answer on how to download your own version using URLLoader, read the HTTPStatusEvent in the documentation.

Adobe , , .

+1

Source: https://habr.com/ru/post/1776790/


All Articles