hohoho merry christmas Branwe, i should be kinda sleepy today 'cause i
didn't think in that. Thanks for the pointer that should do the trick!!
For those interested in crazy walkarounds i was thinking in fixing it
server-side deciding which clients should do that setting in the roomLeave
method!! Your approach is much much better Branwe thanks a lot.
Cheers
Carlos
On 2/19/07, Branko Pecnik <[EMAIL PROTECTED]> wrote:
If I understand you, this may help:
...
result = {};
result.onResult = Delegate.create(this, onResult);
...
nc.call("mymethod",............); // call server function
...
// when "mymethod" finished on server, onResult is called
private function onResult(evtObj:Object):Void
{
//do things locally
nc.close();
//do things locally
}
I hope this help
Branwe
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org
--
-------------------------------------------------------------------
"Nos gusta los domingos ir al parque a pinchar los globos de los niƱos para
verlos llorar" .- Eskorbuto
_______________________________________________
Red5 mailing list
[email protected]
http://osflash.org/mailman/listinfo/red5_osflash.org