Return to Snippet

Revision: 40350
at January 31, 2011 14:01 by GrfxGuru


Initial Code
private var monitor:URLMonitor;

// This is just an example of a function called after application creation complete
private function handle_creationComplete():void
{
	monitor = new URLMonitor( new URLRequest("http://www.someaddress to check against") );
	monitor.addEventListener( StatusEvent.STATUS, handle_status );
	monitor.start();
}

private function handle_status ( event:StatusEvent ):void
{
	trace(monitor.available);
}

Initial URL


Initial Description


Initial Title
Adobe AIR - Detecting network connectivity

Initial Tags
actionscript

Initial Language
ActionScript 3