作者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
1F:→ HelloJimmy:建立connection是OK的,但呼叫function不行. 04/08 13:22
2F:→ HelloJimmy:且我不想用client.helloworld=function()这种写法... 04/08 13:24