【发布时间】:2012-05-09 15:52:41
【问题描述】:
有人知道是否可以使用 amf 远程处理从 flash 调用 asp.net mvc 操作?
如果是,如何?应该使用哪些技术以及如何将它们结合起来
在闪存方面,它会是这样的:
//Connect the NetConnection object
var netConnection: NetConnection = new NetConnection();
netConnection.connect("http://localhost:59147/Home/Index");
//Invoke a call
log("invoke call TestMethod");
var responder : Responder = new Responder( handleRemoteCallResult, handleRemoteCallFault);
netConnection.call('TestMethod', responder, "Test");
我试过了,它触发了操作,但我在请求中找不到任何“TestMethod”和“Test”
谢谢
【问题讨论】:
-
您是否尝试使用.NET 客户端 AMF 库,en.wikipedia.org/wiki/Action_Message_Format#Support_for_AMF 上有一个列表
-
@AntonioBakula 我尝试了 FluorineFx,但它仅适用于 RemoteObjects,我无法更改闪存端,它使用 NetConnection 的方式与我在上面显示的方式一样
标签: .net asp.net-mvc actionscript-3 flash amf