看板 Flash 關於我們 聯絡資訊
大家好, 我想利用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
world294:asc 應該寫錯了 http://goo.gl/pOgr5 04/10 19:15