看板 Flash 關於我們 聯絡資訊
大家好, 我的flash元件可與FMS成功建立連線, 呼叫遠端function時client也顯示成功. 但是server side function卻一點反應也沒有. client端code: //連線成功才呼叫遠端函式 private function onNetStatusHandler(event:NetStatusEvent):void{ switch (event.info.code) { case "NetConnection.Connect.Success": this.nc_LBSConnection.call("HelloWorld",new Responder(InvokeServerSuccess, InvokeServerFailure)); break; } } server端code: public String HelloWorld() { this.write_log("HelloWorld!"); return "Helloworld"; } 問題卡很久了, 請高手賜教, 謝謝~~ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 118.166.229.211
vml93:server端寫錯,你可以google一下範例 01/03 00:04