privateMessage and receiver
Posted: 08 Oct 2010, 06:38
Ok i write an example.
There are 2 user in room.
fox1 and fox2. I'm fox1.
i send a private message.
smartFox.sendPrivateMessage("ciao",id, room);
ok it works but on event
private function onPrivateMessage(event : SFSEvent) : void {
i can know only sender i know "from" and not "to".
i test here, all users receive identic message.
fox1 send a private message.
Iis it correct ?
is there a method to know the receiver ?
There are 2 user in room.
fox1 and fox2. I'm fox1.
i send a private message.
smartFox.sendPrivateMessage("ciao",id, room);
ok it works but on event
private function onPrivateMessage(event : SFSEvent) : void {
i can know only sender i know "from" and not "to".
i test here, all users receive identic message.
fox1 send a private message.
Iis it correct ?
is there a method to know the receiver ?