作者HelloJimmy (揪~~竟,能不能考上?)
看板Flash
標題[問題] FMS 呼叫server side function的問題??
時間Sun Apr 8 13:21:07 2012
大家好,
我想利用FMS實作一個conference,
在main.asc中寫了一個function,
client及server的code如下:
client:
this.nc.connect("rtmp://localhost/my_app");
this.nc.call("helloworld",null);
server:
function helloworld(){
trace("helloworld");
}
但卻呼叫不成功,
admin console裡的訊息:
Sending error message: Method not found (helloworld).
why??
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 114.45.7.212
→ HelloJimmy:建立connection是OK的,但呼叫function不行. 04/08 13:22
→ HelloJimmy:且我不想用client.helloworld=function()這種寫法... 04/08 13:24