Having this code:
nc.call("test", new Responder(onCallSuccess,onCallFailed), "user1");
and
public function onTest(id:String):void {
Alert.show("test called from server");
}
Results in:
`ReferenceError: Error #1069: Property onTest not found on flash.net.NetConnection and there is no default value`.
How could I fix this?
Ive tried a lot of different approaches, it seems that the data is send from server application correctly but flex cannot “eat it”
You need to add
nc.client = this, so the server knows where to call methods.