im stuck! can anyone help me with this one? I can't connect to the AMF.Net service....
testthis.cs
namespace testthis.now
{
public class testing
{
public string test(int i)
{
return i.ToString();
}
}
}
actionscript 2.0 using Flash 8
import mx.remoting.NetServices;
import mx.remoting.PendingCall;
import mx.rpc.*;
import mx.remoting.debug.NetDebug;
var service:Service =
new Service(
'http://localhost/gateway.aspx',
null,
'testthis.now', 'App_Code');
my web.config:
<add verb="*" path="gateway.aspx" type="Fuel.AmfNet.GatewayHandler, Fuel.AmfNet"/>
Bin folder contains:
Fuel.AmfNet.dll
and already added as reference.
Ive also installed the Flash Remoting Components for Flash 8