/ Published in: Other
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
/** 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 );
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                