【发布时间】:2023-03-13 04:31:01
【问题描述】:
拥有此代码:
nc.call("test", new Responder(onCallSuccess,onCallFailed), "user1");
和
public function onTest(id:String):void {
Alert.show("test called from server");
}
结果:
`ReferenceError: Error #1069: Property onTest not found on flash.net.NetConnection and there is no default value`.
我该如何解决这个问题? 我尝试了很多不同的方法,似乎数据是从服务器应用程序正确发送的,但 flex 不能“吃掉它”
【问题讨论】: