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
