Return to Snippet

Revision: 4319
at November 26, 2007 02:42 by chrisaiv


Initial Code
//Basic Construct for an Occasional Connect

var url = 'http://www.adobe.com';
var monitor = null;

monitor = new runtime.air.net.URLMonitor( new air.URLRequest( url ) );
monitor.addEventListener( air.StatusEvent.STATUS, doNetworkStatus );
monitor.start();

function doNetworkStatus( e ){
	if( monitor.available ){
		//do something
	}
}

Initial URL

                                

Initial Description

                                

Initial Title
Basic Construct for an Occasional Connectivity

Initial Tags

                                

Initial Language
ActionScript 3