powered by Jive Software

XMPPSocketConnection connection problem

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

http://paazio.nanbudo.fi/tutorials/flash/xiff-chat-part-1

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 = “10.9.16.175”;
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;
_connection.connect(“flash”);

crossdomain xml file (http://10.9.16.175:7070/crossdomain.xml) looks like this:

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