PDA

View Full Version : v2 Flash Remoting with ASP .NET


epeace
07-18-2005, 05:10 PM
Has anyone seen a tutorial that explains how to do this?

I have seen tons on how to do it v1 style but nothing on how to use the v2 remoting classes with .NET

maybe im missing something simple here . . . . hopefully someone can point it out . .

badlorry
07-26-2005, 03:04 PM
I've looked at length for this, and haven't found anthing yet, I reckon nobody's got round to writing anything down about this yet

epeace
07-26-2005, 04:21 PM
actually i was able to suss it out myself . .

the code would look something like this:

import mx.remoting.Service;
import mx.rpc.RelayResponder;
import mx.remoting.PendingCall;

my_svc=new Service("http://my.remotingserver.com/gateway.aspx",null,"pathToAspxPage",null,null);

function getstuff () {
var pc:PendingCall=my_svc.my_aspxpage(my_paramsObj);
pc.responder=new RelayResponder(this,"getstuff_onResult","getstuff_onFault" );
}