powered by Jive Software

XMPPSocketConnection connection problem

Sorry for my English … I’ve been following this tutorial


but allways I get the same error :confused:

onXiffError. [Event type=“error” bubbles=false cancelable=false eventPhase=2]

my configuration is:

private const SERVER:String = “”;
private const PORT:Number = 5222;
private const USERNAME:String = “klient@lap174”;
private const PASSWORD:String = “klient123”;
private const RESOURCE_NAME:String = “flashPlayer”;
private const CHECK_POLICY:Boolean = true;

private var _connection:XMPPSocketConnection;

Security.loadPolicyFile(“xmlsocket://” + SERVER + “:7070/”);

_connection.useAnonymousLogin = false;
_connection.server = SERVER;
_connection.port = PORT;
_connection.resource = RESOURCE_NAME;

crossdomain xml file ( looks like this:

does anybody know where the problem can be:/ I tried with two different servers - always the same feedback plz help!