/ Published in: Other
- /** 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 );
You need to login to post a comment.