I am trying to write very simple Xmpp client but when I try to connect I get 500 error . I am have tried this openfire 3.6 as well as 3.5
I believe since xiff is as3 it should work with flex 3 also or its limited to flex 2 only , has anybody ever used flex 3 + xiff before
Cross domain.xml
private function login():void{
// Security.loadPolicyFile("http://"+ server +"/crossdomain.xml");
var connection:XMPPSocketConnection = new XMPPSocketConnection();
Security.loadPolicyFile(“xmlsocket://192.168.0.10:5229”);
Security.loadPolicyFile(“http://192.168.0.10/crossdomain.xml”);
connection.username = "t";
connection.password = "t";
connection.server = "192.168.0.10";
connection.port = 5222;
connection.connect(“standard”);
//connection.addEventListener(LoginEvent.LOGIN, onLogin);
connection.addEventListener(XIFFErrorEvent.XIFF_ERROR, onError);
Alert.show("Text Copied!", "Alert Box" +connection.isLoggedIn() , Alert.OK);
}