set the presence up on Login using the following method
private function setupPresence() : void
presence = new Presence(null, connection.jid, Presence.SUBSCRIBE_TYPE, Presence.SHOW_CHAT, null, 3);
the PresenceEvent.PRESENCE fires but in the onPresence function the presence
var presObject:Presence = event.data as Presence;
comes back as null every time.
Can anyone please help. Why is presence null?