Previous xiff version had the problem that IQEvent, unlike MessageEvent and PresenceEvent, was not defined so I had to use this workaround in order to listen for iq packets:
I used IncomingDataEvent and I did:
public onIq(event:IncomingDataEvent){
var doc:XMLDocument = event.data;
if(doc.firstChild.nodeName == “iq”){
but now event.data gives me a ByteArray object! You fixed so many bug and improved so many things and still you can’t make a simple, NECESSARY, IQ Event listener??T_T
And this version,with its change from XMLDocument to ByteArray ruined my workaround too…now I ask for help: how to listen for IQ packets? And, out of curiosity, WHY there isn’t an IQ Event defined? Just IQ’s callback is not enough according to me as Server would be in need to send IQ packets in assence of a request too…