Return to Snippet

Revision: 9238
at October 27, 2008 00:58 by jonniespratley


Initial Code
/** NetConnection variable for creating our amfphp connection */		
private static var _service:NetConnection;

/** Location of our gateway for amfphp */
private var gateway:String = "http://localhost/snippr/amfphp/gateway.php";

/**
 * Here we are creating a new connection to our amfphp service, when this is instantiated, 
 * it connects to our service.
 * 
 */		
public function connect():void
{
	_service = new NetConnection();
	_service.connect( gateway );
}

Initial URL

                                

Initial Description

                                

Initial Title
Connection to AMFPHP

Initial Tags
textmate

Initial Language
Other